Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to gw2api ClientHandlerException/SSLHandshakeException #15

Open
Nithanim opened this issue Mar 24, 2016 · 1 comment
Open

Comments

@Nithanim
Copy link
Owner

I coincidentally found out that ArenaNet switched their CA which broke the SSL validation and therefore the connection to the api.
The message looks something like this:

com.sun.jersey.api.client.ClientHandlerException: 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

They used an unsupported CA initially but switched because of java. It seems that they forgot about that and did not check this time :(
According to some awesome people at StackOverflow this problem is fixed with Java 8 update 31 and higher since the needed certificates are included there.

@Nithanim
Copy link
Owner Author

I think I got some workaround but I really need testers. Both the ones that have and don't have the problem would be great!
To build it yourself:

git clone https://github.com/Nithanim/gw2api.git
cd gw2api
git checkout issue-15
mvn install

Don't forget to let your dependencies point to 0.0.4-SNAPSHOT instead of the 0.0.3 release build.
It might be a good idea to remove the snapshot repository if you added it manually to the pom.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant