Dice error with the dice server.

  • '19

    Hi All,

    This is the issue I am having; but in other games, every works well very confusing…

    British roll dice for 1 cruiser, 1 fighter and 1 transport in 96 Sea Zone, round 2
    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

  • '19

    I have read other post with the same issue, I reinstalled latest version of Triplea and updated Java and got rid of old version; don’t know what to do next.


  • @Sovietishcat
    OK, fine, then please do this:

    • Start TripleA
    • Start a Local Game
    • 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

    Thank you :smiley:

  • '19

    Hi Panther,

    Here it is,

    triplea.engine.version.bin:1.8.0.3
    WARNING [AWT-EventQueue-0] prefs -> Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
    Heap utilization statistics [MB]
    Used Memory: 134
    Free Memory: 25
    Total Memory: 159
    Max Memory: 866
    SYSTEM PROPERTIES
    awt.toolkit sun.awt.windows.WToolkit
    file.encoding Cp1252
    file.encoding.pkg sun.io
    file.separator
    java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob sun.awt.windows.WPrinterJob
    java.class.path C:\Program Files (x86)\TripleA\triplea_1_8_0_3\bin\triplea.jar
    java.class.version 52.0
    java.endorsed.dirs C:\Program Files (x86)\Java\jre1.8.0_191\lib\endorsed
    java.ext.dirs C:\Program Files (x86)\Java\jre1.8.0_191\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home C:\Program Files (x86)\Java\jre1.8.0_191
    java.io.tmpdir C:\Users\Dominic\AppData\Local\Temp
    java.library.path C:\Program Files (x86)\Java\jre1.8.0_191\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\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\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:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Skype\Phone;C:\Program Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;;C:\WINDOWS\System32\OpenSSH;C:\Users\Dominic\AppData\Local\Microsoft\WindowsApps;;C:\Program Files (x86)\Java\jre1.8.0_191\bin;.
    java.runtime.name Java™ SE Runtime Environment
    java.runtime.version 1.8.0_191-b12
    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_191
    java.vm.info mixed mode
    java.vm.name Java HotSpot™ Client 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.191-b12
    line.separator

    os.arch x86
    os.name Windows 10
    os.version 10.0
    path.separator ;
    sun.arch.data.model 32
    sun.awt.enableExtraMouseButtons true
    sun.awt.exception.handler games.strategy.triplea.ui.ErrorHandler
    sun.boot.class.path C:\Program Files (x86)\Java\jre1.8.0_191\lib\resources.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\rt.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_191\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_191\classes
    sun.boot.library.path C:\Program Files (x86)\Java\jre1.8.0_191\bin
    sun.cpu.endian little
    sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop windows
    sun.io.unicode.encoding UnicodeLittle
    sun.java.command C:\Program Files (x86)\TripleA\triplea_1_8_0_3\bin\triplea.jar
    sun.java.launcher SUN_STANDARD
    sun.jnu.encoding Cp1252
    sun.management.compiler HotSpot Client Compiler
    sun.os.patch.level
    triplea.engine.version 1.8.0.3
    triplea.engine.version.bin 1.8.0.3
    user.country CA
    user.dir C:\Program Files (x86)\TripleA
    user.home C:\Users\Dominic
    user.language en
    user.name Dominic
    user.script
    user.timezone America/New_York
    user.variant


  • @Sovietishcat

    You have a way outdated TripleA version installed. (1.8.0.3 of 2014).

    Please install the latest one from https://triplea-game.org/download/
    Right now we are at 1.9.0.0.13066.

    Please note that all games played with 1.8.0.3 are incompatible with the latest version of the engine.
    So you maybe want to keep the old version and install the new one aside.
    You need to redownload all maps, too, using the in-game downloader.

    As you run a 32bit Java you need to install the 32bit version of TripleA.

    Just ask, in case of further questions.

  • '19

    Ok, everything is working, I really don’t understand how I was with an old engine, I mean I could see 1.9.0.0.13066 on the top left when I opened triplea.

    I appreciate the time you took,

    Thank you :relaxed:


  • @Sovietishcat
    You are welcome. Enjoy gaming :smiley:

  • TripleA

    @Sovietishcat You can have multiple versions of TripleA installed and could have been using the old one for a certain save game.

  • '20

    same issue as this dude. triple a version is updated tho I think. also made sure to get latest java.

    SYSTEM PROPERTIES
    awt.toolkit=sun.awt.windows.WToolkit
    exe4j.consoleCodepage=cp0
    exe4j.isInstall4j=true
    exe4j.launchName=C:\PROGRA~1\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\Colt\AppData\Local\Temp
    java.library.path=C:\Users\Colt\AppData\Local\Temp\e4j2B65.tmp_dir1560906122\user;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\QuickTime\QTSystem;C:\Users\Colt\AppData\Roaming\Dashlane\4.6.5.21982\bin\Firefox_Extension{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\Colt\AppData\Local\Microsoft\WindowsApps;C:\Users\Colt\AppData\Roaming\Dashlane\4.6.6.23032\bin\Firefox_Extension{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;c:\program files\common files\i4j_jres\1.8.0_66\bin;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=US
    user.dir=C:\Program Files\TripleA
    user.home=C:\Users\Colt
    user.language=en
    user.name=Colt
    user.script=
    user.timezone=America/Chicago
    user.variant=


  • @Colt45554 said in Dice error with the dice server.:

    java.home=c:\program files\common files\i4j_jres\1.8.0_66

    The interferring old Java is here:

    java.home=c:\program files\common files\i4j_jres\1.8.0_66
    

    Now browse to c:\program files\common files\i4j_jres
    and delete the folder “i4j_jres” including its subfolders manually.

    Then download and install the latest Java from
    https://java.com/en/download/manual.jsp

    After that you might need to reinstall TripleA to force TripleA to use the latest Java that you have just installed.

    As you are on a 64bit system be sure to install the 64 bit versions of Java and TripleA.

    Good luck :slightly_smiling_face:

  • '20

    Thank you much. You’re a wizard :ok_hand:


  • I’ve been having the same dice server error despite having the latest versions of TripleA and Java installed, but have fixed it following @Panther’s advice. Here’s the process I followed:

    1. Uninstall TripleA from the Add/Remove Programs tool
    2. Uninstall Java from the Add/Remove Programs tool
    3. With Windows Explorer navigate to c:\program files\common files and delete the folder i4j_jres found there
    4. Reboot, cos you know, that’s a thing. :wink:
    5. Reinstall the latest Java from https://java.com/en/download/manual.jsp
    6. Reinstall the latest TripleA from https://triplea-game.org/download/

    That fixed it. It seems that when Java is uninstalled, it doesn’t clean up properly after itself. No doubt it thinks there’s a good reason to leave that i4j_jres folder hanging around.

    Thanks for your help Panther. :the_horns:


  • @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.

Suggested Topics

Axis & Allies Boardgaming Custom Painted Miniatures

27

Online

17.4k

Users

39.9k

Topics

1.7m

Posts