Help with this issue (Dice error)

  • 2024 '22 '21 '19 '18

    Germans roll dice for 2 submarines in 106 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


  • I have already helped you here:

    https://www.axisandallies.org/forums/topic/32325/error-messages-related-to-dice-server

    You need to update your Java.

    Do you need further assistance?

  • 2024 '22 '21 '19 '18

    Chrome nor Edge will run Java. Do you know of any other way? I play using a Surface Pro 4 with windows 10


  • You don’t need to run Java in your browser. Just remove the old Java via Control Panel-Software.

    Then download the offline installation file for Windows 64bit and install the latest Java.
    You get it here: https://java.com/en/download/manual.jsp

    Find additional help here:

    https://java.com/en/download/help/windows_offline_download.xml

  • 2024 '22 '21 '19 '18

    Thanks for the help. That seems to have done the trick. I’M BACK!!!


  • Great! Now enjoy gaming :-)


  • @Panther I am having the same issue as max was having but it is only happening on one game I am playing. I updated Java but it didn’t resolve it. Any suggestions?


  • @Ferrousgryphon Please post your error message, there might be different reasons.
    Are you on Windows?
    And do you maybe have an older version of TripleA installed next to the latest version


  • @Panther here is my fault

    Chinese roll dice for 1 fighter and 2 infantry in Yunnan, 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


  • @Panther tripleA 1.9.0.0.13066, java build 1.8.0_191-b12


  • @Ferrousgryphon Thank you, that was helpful. Before we spend more time on investigating, here is the most likely solution:

    You have the latest TripleA as well as the latest Java installed. Fine.
    However your TripleA appears to be using an outdated Java that is still on your system.
    Most of the time this is caused by a bundled Java that once had been downloaded and installed together with TripleA.

    So please check if you find a directory (folder)

    i4j_jres
    

    in either

    c:\program files\common files\i4j_jres\
    

    or

    C:\Users\<username>\.i4j_jres
    

    Please delete the directory/folder

    i4j_jres
    

    including its subdirectories/subfolders manually.

    After having deleted this, TripleA should use the correct Java installation.

    Please report back :smiley:


  • @Panther I found the folder you directed me to in common files. I deleted it manually. After that I tried to restart tripleA but it gave me some fault that said something about needing a jre file to point to ( I think). With my limited computer skills i decided to restart my system which did nothing. I decided to try reinstalling TripleA. That appears to have resolved it. Thank you so much for your help!


  • @Ferrousgryphon Perfect! Enjoy gaming :smiley:

Suggested Topics

Axis & Allies Boardgaming Custom Painted Miniatures

44

Online

17.0k

Users

39.3k

Topics

1.7m

Posts