FAQ: The Java sample project is returning error "REST action POST: unreachable"

If you are using a Java version prior to 7u75 or 8u31, you may get an error saying:

REST action POST: unreachable

This happens because the root CA certificate of our SSL certificate chain was only added to the Java trusted root certificates on the aforementioned versions. To fix this, update your Java to a current version.

If you don't wish to update your Java, you may alter the file Java/sample-spring-mvc/src/main/java/sample/util/ and switch the REST PKI address to "" (with "http" instead of "https"). However, this fix should only be used while on development, since your API access token, as well as the documents you sign, will be sent to REST PKI unencrypted.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk