@GuiltyCol You are welcome.
Actually the i4j_jres folder has never been installed by the original Java installer itself.
It was instead part of an older TripleA installation that came bundled with it.
So the original Java installer can’t “know” about that “wild” version and thus can’t remove it.
This is why you have to clean that up manually.
Dice server problem
-
I get the following erroe when trying to contact the dice server for forum games
I cant figure it out. I believe I have the latest Java Version
Any ideas? I have also reinstalled the software
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(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
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(Unknown Source)
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(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
… 22 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
… 28 more -
@oysteilo Please do this:
-Exit TripleA (shut down)
-Start TripleA
-Start a new Local Game (any will do)
-When the game has started find the Menu Debug and then click Show Console
-When the Console has opened, click the button Properties
-Then click Copy to Clipboard
-Paste in this thread -
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\common files\i4j_jres\1.8.0_66\lib\endorsed
java.ext.dirs=c:\program files\common files\i4j_jres\1.8.0_66\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=c:\program files\common files\i4j_jres\1.8.0_66
java.io.tmpdir=C:\Users\TRANEV~1\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 (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH;C:\Users\traneveien\AppData\Local\Microsoft\WindowsApps;;c:\program files\common files\i4j_jres\1.8.0_66\bin
java.runtime.name=Java™ SE Runtime Environment
java.runtime.version=1.8.0_66-b17
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_66
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.66-b17
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\common files\i4j_jres\1.8.0_66\lib\resources.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\rt.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\sunrsasign.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\jsse.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\jce.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\charsets.jar;c:\program files\common files\i4j_jres\1.8.0_66\lib\jfr.jar;c:\program files\common files\i4j_jres\1.8.0_66\classes
sun.boot.library.path=c:\program files\common files\i4j_jres\1.8.0_66\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=NO
user.dir=C:\Program Files\TripleA
user.home=C:\Users\traneveien
user.language=no
user.name=traneveien
user.script=
user.timezone=Europe/Berlin
user.variant= -
Despite you might have installed the latest Java 8 version (as of now this is Version 8 Update 231 ), your TripleA installation still uses an outdated version to be found here:
c:\program files\common files\i4j_jres\1.8.0_66\
This old version contains outdated security certificates that cause your error.
Now you need to manually remove (delete) the “i4jres” folder containing its subfolder(s).
After that reinstall the latest Java 8 64 bit from
https://java.com/en/download/manual.jsp
(the offline file is fine).Some users reported that they needed to reinstall TripleA, too.
You should be fine, then.
Good luck :slightly_smiling_face:
-
Thanks!
I will try that then
-
I had this problem too, and that solved it for me. Thanks!
-
@LotusCaesar Nice, thank you for your feedback.
-
@Panther Worked for me as well. Thanks a bunch Panther!!!