-
Notifications
You must be signed in to change notification settings - Fork 24
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
Certificate errors connecting to SynBioHub instances #544
Comments
I think this is the same error we ran into before. The problem was a bug in a particular version of Java JDK. When we updated the Java JDK to the latest version, this certificate problem was fixed.
Zach, Michael: do you two remember which version of JDK is required?
Jake: which version are you using?
… On Feb 14, 2018, at 11:33 PM, Jacob Beal ***@***.***> wrote:
I am attempting to retrieve items from SynBioHub, and cannot do so.
The problem seems to center on the fact that no SynBioHub instance provides a valid certificate:
Caused by: 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
How is this supposed to work?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#544>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADWD930tUPA2aevZYBKMgXJkEIk9nYOAks5tU21RgaJpZM4SGI4_>.
|
I am using JavaSE-1.8 |
Depends on the specific build I think. It works for me, and here is my build:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
… On Feb 15, 2018, at 10:11 AM, Jacob Beal ***@***.***> wrote:
I am using JavaSE-1.8
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#544 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADWD933lWwa4Vppy8L5KT-WYjxhTceZSks5tVALjgaJpZM4SGI4_>.
|
OK, this is strange... my system claims I've got 1.8 Update 161, but when I invoke Java directly the version I get is this: java version "1.8.0_20" |
I think I’ve run into this problem before. You probably have a different JDK and JRE. The JDK is used within eclipse but the JRE is used from the command line.
… On Feb 15, 2018, at 10:45 AM, Jacob Beal ***@***.***> wrote:
OK, this is strange... my system claims I've got 1.8 Update 161, but when I invoke Java directly the version I get is this:
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#544 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADWD967CfQcp9uPXByk-Y6YnLCHTfJ5pks5tVAq7gaJpZM4SGI4_>.
|
This might help:
https://stackoverflow.com/questions/12757558/installed-java-7-on-mac-os-x-but-terminal-is-still-using-version-6
… On Feb 15, 2018, at 10:45 AM, Jacob Beal ***@***.***> wrote:
OK, this is strange... my system claims I've got 1.8 Update 161, but when I invoke Java directly the version I get is this:
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#544 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADWD967CfQcp9uPXByk-Y6YnLCHTfJ5pks5tVAq7gaJpZM4SGI4_>.
|
Gah! I didn't realize that when Java updated itself automatically, it was only updating part of itself. OK, I am now successfully retrieving items from SynBioHub. I think that a resolution of this issue should include adding dependency information to the README for libSBOLj |
Agreed. Thought we had documented somewhere the Java version bit, but the JDK/JRE bit is annoying. Not sure we should document that as then we start getting into documenting how different OSs handle java installs. |
I checked and there's nothing about dependencies in the README. |
I am attempting to retrieve items from SynBioHub, and cannot do so.
The problem seems to center on the fact that no SynBioHub instance provides a valid certificate:
Caused by: 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
How is this supposed to work?
The text was updated successfully, but these errors were encountered: