@mrcunego
Uhh…I’m afraid you will need admin right in order to install. Are you successful installing other programs?
Dice Server Error
-
I have Triple A installed on 2 different computers.
On my primary computer, I was able to get it updated and working with the new https/SSL site. However, I am having trouble connecting to the dice server with the latest Triple-A on my other computer.
When I load the saved game file, and click ‘Test Server’, I get a Java error.
I have updated both Triple-A and Java on my computer today, and un-installed the old Java.
Here is the full Java error:
Test
Contacting dice.tripleawarclub.org
An error has occured!
Possible reasons the error could have happened:
1: An invalid e-mail address
2: Firewall could be blocking TripleA from connecting to the Dice Server
3: The e-mail address does not exist
4: An unknown error, please see the error console and consult the forums for help
Visit https://forums.triplea-game.org/ for extra help
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118)
at games.strategy.engine.random.PropertiesDiceRoller.postRequest(PropertiesDiceRoller.java:147)
at games.strategy.engine.random.PbemDiceRoller$HttpDiceRollerDialog.rollInSeperateThread(PbemDiceRoller.java:222)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
… 21 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
… 27 moreAnd here’s the results of my debug info:
SYSTEM PROPERTIES
awt.toolkit=sun.awt.windows.WToolkit
exe4j.consoleCodepage=cp0
exe4j.isInstall4j=true
exe4j.launchName=C:\Program Files\TripleA\TripleA.exe
exe4j.moduleName=C:\Program Files\TripleA\TripleA.exe
exe4j.semaphoreName=Local\c:_program_files_triplea_triplea.exe0
exe4j.tempDir=
exe4j.unextractedPosition=0
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=
install4j.appDir=C:\Program Files\TripleA
install4j.exeDir=C:\Program Files\TripleA
install4j.launcherId=33
install4j.swt=false
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Program Files\TripleA.install4j\i4jruntime.jar;C:\Program Files\TripleA.\bin\triplea-game-headed-1.9.0.0.13066-all.jar
java.class.version=52.0
java.endorsed.dirs=c:\program files\java\jdk1.8.0_91\jre\lib\endorsed
java.ext.dirs=c:\program files\java\jdk1.8.0_91\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=c:\program files\java\jdk1.8.0_91\jre
java.io.tmpdir=C:\Users\Chris\AppData\Local\Temp
java.library.path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_91\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH;C:\Program Files\PuTTY;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Users\Chris\AppData\Local\Microsoft\WindowsApps;C:\Users\Chris\AppData\Local\GitHubDesktop\bin;C:\Users\Chris\AppData\Local\Microsoft\WindowsApps;C:\Python27;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;c:\program files\java\jdk1.8.0_91\jre\bin
java.runtime.name=Java™ SE Runtime Environment
java.runtime.version=1.8.0_91-b15
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.8.0_91
java.vm.info=mixed mode
java.vm.name=Java HotSpot™ 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.91-b15
line.separator=os.arch=amd64
os.name=Windows 10
os.version=10.0
path.separator=;
sun.arch.data.model=64
sun.awt.enableExtraMouseButtons=true
sun.boot.class.path=c:\program files\java\jdk1.8.0_91\jre\lib\resources.jar;c:\program files\java\jdk1.8.0_91\jre\lib\rt.jar;c:\program files\java\jdk1.8.0_91\jre\lib\sunrsasign.jar;c:\program files\java\jdk1.8.0_91\jre\lib\jsse.jar;c:\program files\java\jdk1.8.0_91\jre\lib\jce.jar;c:\program files\java\jdk1.8.0_91\jre\lib\charsets.jar;c:\program files\java\jdk1.8.0_91\jre\lib\jfr.jar;c:\program files\java\jdk1.8.0_91\jre\classes
sun.boot.library.path=c:\program files\java\jdk1.8.0_91\jre\bin
sun.cpu.endian=little
sun.cpu.isalist=amd64
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=C:\Program Files\TripleA\TripleA.exe
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=
user.country=US
user.dir=C:\Program Files\TripleA
user.home=C:\Users\Chris
user.language=en
user.name=Chris
user.script=
user.timezone=America/Los_Angeles
user.variant=Any help would be great, thanks!
-
From what you have posted we can see that the Java version on your system that TripleA uses is still outdated.
java.runtime.version=1.8.0_91-b15 java.home=c:\program files\java\jdk1.8.0_91\jre
Please uninstall this old Java, then download and install the latest Java 8 (Update 191 as of today) from
https://java.com/en/download/manual.jspGood luck :smiley:
-
Hey Panther,
Thanks, got it working.
I had updated my ‘normal’ Java, but my JDK was still an older version, and it seems Triple-A was using the JDK instead of the non-development Java version (just in case anyone else runs into this specific setup issue).
-
@CaesarsGaul
Interesting information, thank you! -
how did you get it to use the other JDK. I think I am having similar issue. I have updated Java but I dont think tripleA is using it
-
@ksmckay
The JDK installation is different from the JRE installation.Actually when the latest JDK has been installed, you will not need another JRE.
-
Just to echo what Panther said, all I did was update my JDK installation.
Triple A then picked up and used the latest JDK.