Bizzare issue - unable to roll dice

  • Hey guys,

    So I have the latest version of TripleA and the latest maps. I have been playing a game of Domination 1914 for weeks without issue. I download a save file, and simply play, roll dice, and post my turn.

    I started a second game with friends of 1940 BM3. And can't proceed due to "dice rolling" errors. It says it can't contact the server... (Yet there is still no issue with any games I play from my 1914 stream).

    I've tried troubleshooting this in some detail, and get some strange results. If I start a new domination 1914 game, and use all the same information from the existing game, it won't work. If I try to change all the email addresses in the new game, it won't work. if I isolate emails 1 by 1 it won't work. If I download the latest savegame files from other games, those dont work either.

    Only save game files from the 1914 domination game work!? I don't understand why? IF the issue was an email address, or firewall, or whatever, then that would be the problem and none of it would work, but it's just not the case, and I can't post in new games.

    The error is listed as below: PKIX path building failed: unable to find valid certification path to requested target
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(
    	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(
    	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
    	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
    	at org.apache.http.impl.execchain.MainClientExec.establishRoute(
    	at org.apache.http.impl.execchain.MainClientExec.execute(
    	at org.apache.http.impl.execchain.ProtocolExec.execute(
    	at org.apache.http.impl.execchain.RetryExec.execute(
    	at org.apache.http.impl.execchain.RedirectExec.execute(
    	at org.apache.http.impl.client.InternalHttpClient.doExecute(
    	at org.apache.http.impl.client.CloseableHttpClient.execute(
    	at games.strategy.engine.random.PropertiesDiceRoller.postRequest(
    	at games.strategy.engine.random.PbemDiceRoller$HttpDiceRollerDialog.rollInSeperateThread(
    	at Source)
    Caused by: PKIX path building failed: unable to find valid certification path to requested target
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	... 22 more
    Caused by: unable to find valid certification path to requested target
    	at Source)
    	at Source)
    	at Source)
    	... 28 more

  • Just updated Java to latest version - no effect

  • Moderators Admin

    @Gargantua This is related to outdated Java SSL certificates still present on your computer.
    Your TripleA still uses an outdated Java version that had been bundled with a very old installer despite you updated to the latest Java. Now you need to manually remove that old version.

    To find the culprit, please do this:
    -Start TripleA
    -Start a 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

    exe4j.launchName=C:\Program Files\TripleA\TripleA.exe
    exe4j.moduleName=C:\Program Files\TripleA\TripleA.exe
    install4j.appDir=C:\Program Files\TripleA
    install4j.exeDir=C:\Program Files\TripleA
    java.class.path=C:\Program Files\TripleA.install4j\i4jruntime.jar;C:\Program Files\TripleA.\bin\triplea-game-headed-
    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\Users\JGREEN~1\AppData\Local\Temp
    java.library.path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone;c:\program files\common files\i4j_jres\1.8.0_66\bin SE Runtime Environment
    java.runtime.version=1.8.0_66-b17 Platform API Specification
    java.specification.vendor=Oracle Corporation
    java.vendor=Oracle Corporation
    java.version=1.8.0_66 mode HotSpot(TM) 64-Bit Server VM Virtual Machine Specification
    java.vm.specification.vendor=Oracle Corporation
    java.vm.vendor=Oracle Corporation

    os.arch=amd64 7
    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.desktop=windows\Program Files\TripleA\TripleA.exe
    sun.jnu.encoding=Cp1252 64-Bit Tiered Compilers
    sun.os.patch.level=Service Pack 1
    user.dir=C:\Program Files\TripleA

  • So I need to remove JAVA, and do a fresh new/complete install?

  • Moderators Admin

    Please browse to

    c:\program files\common files\i4j_jres\

    and delete the folder "i4j_jres" and its subfolders manually.
    It is the here included old Java 1.8.0_66 that causes your trouble.

    Then try to use the dice server again.
    If it still doesn't work please reinstall Java 8 update 211 using the Windows Control Panel.

  • Admin

    Props to you @Panther you're getting really good at troubleshooting common issues 👍
    Couldn't have done it any better

  • Moderators Admin

    @RoiEX Thank you! I have learnt a lot from you, @redrum , @ssoloff and @LaFayette throughout the years. You always have an open ear and explain issues in an understandable way giving interesting background information. 🙂

  • Panther,

    Thanks for pointing that folder out. I simply renamed it, and then installed the Java 8 211. Everything appears to be working now!

Log in to reply