-
Notifications
You must be signed in to change notification settings - Fork 23
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 retrieve URI through frontend #594
Comments
Hmm, I’m actually failing on login to synbiohub.org <http://synbiohub.org/>
Exception in thread "main" org.synbiohub.frontend.SynBioHubException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at org.synbiohub.frontend.SynBioHubFrontend.login(SynBioHubFrontend.java:631)
at org.sbolstandard.core2.readTester.main(readTester.java:43)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
This website indicates we may have a problem with our certificate:
https://stackoverflow.com/questions/6353849/received-fatal-alert-handshake-failure-through-sslhandshakeexception <https://stackoverflow.com/questions/6353849/received-fatal-alert-handshake-failure-through-sslhandshakeexception>
I’m not sure though what has changed with that.
Will ask in our synbiohub call that is coming shortly this morning.
… On Mar 5, 2018, at 2:15 AM, Jacob Beal ***@***.***> wrote:
SynBioHubFrontend.getSBOL([URI]) is failing for me even though browsing to [URI] works.
Login appears to be working correctly, as no errors are signaled before I get to the point in my code where I call getSBOL.
This was working for me a few days ago - has something changed in the interface or is something down on the backend?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#594>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADWD9yrJBfkmB6Yt8ZQ1evL4FFJ3mMkXks5tbQI8gaJpZM4Sb8e5>.
|
Hmm, this is strange. It works fine from SBOLDesigner but not my little test program... |
Ok, figured out my issue. My test program was using Java 1.7. Once I shifted to 1.8, it works fine. Here is my test:
Are you sure you are using the latest 1.8 version? Also, make sure you are not using 1.9. If you have upgraded to 1.9, then this could be your problem. There is a known issue with libSBOLj and Java 9 that we are aware of and trying to fix. |
Ah, actually, I'm pretty positive that given your symptoms that you likely updated to Java 9. The Java 9 bug manifests as being unable to read SBOL files. There is a bug in the sbol-data library, which I've asked Goksel to try to sort out. |
I am definitely not on Java 9:
|
Strange. Ok, can you confirm a few things.
|
|
Ah, did not see stack trace as did not show up in the email. This is a not found exception which leads me to believe there is perhaps a typo in the URI that you are using to fetch with. I can fetch your part just fine with this code: SynBioHubFrontend sbh = new SynBioHubFrontend("https://synbiohub.org"); Can you try this code with your "sharelink"? Also, can you double check that your URI is correct. Be sure you have "https" at the start, no extra slashes, etc. I'm at a loss as to what else it might be, since we have not updated synbiohub.org in awhile, and you said this was working. |
No typos, no URI issues: the exact same URI pulls up the part when entered into a browser, and I have not touched this code since it was working, a few days ago. I will try the sharelink. |
Swapping the "share" link for the private link works, I don't know why. |
SynBioHubFrontend.getSBOL([URI]) is failing for me even though browsing to [URI] works.
Login appears to be working correctly, as no errors are signaled before I get to the point in my code where I call getSBOL.
This was working for me a few days ago - has something changed in the interface or is something down on the backend? The instance that I am using is synbiohub.org, and I am retrieving a private URI.
The error that I get is:
The text was updated successfully, but these errors were encountered: