error playing online
-
When I click 'play online', I get an error. The error tab is titled, "Could not connect to server". The error text says, "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-
Before trying anything else you should verify your java version is up-to-date (Java 8u151/152) you can download it at java.com.
If this issue continues to exist, please tell us what Operating System you're using and we'll be happy to help you with your issue. -
@roiex There is a similar issue reported here:
https://www.axisandallies.org/forums/index.php?topic=41182.0We already made sure that latest JRE and TripleA stable are installed on a Windows 32bit system.
Still the error occurs!
-
@panther @Troianii This has happened to a few players over the past few months. Here is an issue that describes some steps that can be taken: https://github.com/triplea-game/triplea/issues/2554
-
@redrum Yes, I remembered that issue having been solved by removing outdated JRE and installing the latest ones. That is what I recommended to the user in the above mentioned thread. But it looks like that did not solve the problem in this case.
-
@panther There is one other cause of this issue that we've identified, and that is if the user has some kind of SSL/TLS proxy installed (typically found as part of parental controls software), as discussed in https://github.com/triplea-game/triplea/issues/2472. Running the OpenSSL test described in #2554 or #2472 would allow us to confirm if that's the case.
Also, I read that post on A&A.org, and it's not clear if the user removed the problematic JRE. If you read #2554 carefully, the outdated JRE that was causing the problem was installed by TripleA itself, so it is is not uninstallable via Control Panel--the user has to actually delete a folder within their profile to get rid of it. (Even if a newer version of Java is installed, the TripleA launcher will prefer the outdated JRE that was installed when TripleA was installed.) We can verify if this is the problem by having the user start a local game, open the debug console, and click the Properties button. Have them paste or attach the console output. From that we can see exactly which JRE is being selected.
Given that the user was eventually able to get PBEM working, I suspect an SSL/TLS proxy may not be in play here. So, I'd start with the second recommendation to capture the debug console properties to determine from where TripleA is picking up the JRE.
-
@ssoloff Thank you for your synopsis. I never experienced install4j installing a JRE, so that lack of own experience mislead me to somehow misunderstand that part of information when going through that issue.
Got it now and will go on troubleshooting. -
@panther if you diiscover how to uninstall it slap me! Had a similar problem with triplea insttalliing 32 bit java and still running it after having 64 bit java installed. (New hard drives) and triplea auto installed 32 bit. I should have reinstalled java before triplea I guess.
-
@prastle In case install4j autoinstalled Java when installing TripleA you will find those Java installation(s) here:
c:\program files\common files\i4j_jres\1.8.0_xxx
or (if 32bit) here:
c:\program files (x86)\common files\i4j_jres\1.8.0_xxx
Simply delete the Java version folder(s).
-
@panther thanks
-
-
@ssoloff it was installed with admin but what I discovered is that if you install TripleA on a clean system, that doesn't have Java, it auto installs 32 bit(even with 64 bit download). If you install 64 java after it still runs the 32 bit as triplea.
-
@prastle Interesting. It may be that the 64-bit installer is bundling the wrong JRE. I'll try to reproduce.
-
@ssoloff Apart from this - is it always the latest JRE that is installed ... and does a bundled JRE installed with TripleA ever get an update?
-
-
@prastle Are you sure your TripleA ships the wrong JRE?
I recall your issue only occured when invoking triplea via the commandline, in this case it's not the installers fault -
@roiex But a once installed bundled JRE will never be updated? Or is there sort of a version control?
-
The installer won't do anything when there's a JRE already installed on the system.
So no, no updating. -
-
@prastle they didn't work because 32 bit was running in background with a clean install