-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
SSL Handshake fails on OS X 10.8.5 (Mountain Lion) #8
Comments
This is not reproducible here. Please share more details:
|
I downloaded gngr-v0-0-0.jar. I'm on OS X 10.8.5 (12F45).
|
Thanks. Are you able to visit other |
-----BEGIN PGP SIGNED MESSAGE----- No, all of those fail with HandshakeExceptions. iEYEARECAAYFAlSVz2MACgkQ11V8mqIQMRv9TQCeNjh5iwi3lR7yaBskHCSzJkjc |
@digen Is this something you could try on your OS X box? |
@hrj Sure. Working on it. |
We have verified that gngr v0.1.0 works fine on OS X Mavericks (v10.9.4), Oracle Java 8u25. |
v0.1.0 still exhibits the same problem on my machine. I also noticed the following weird behaviour, that might be related: I usually start the jar by clicking on it. On Mac OS this starts the Jar Launcher.app which in turns calls java. To make sure that I really use the java version I posted above, I tried launching gngr from the command line. That however fails:
I had a look at the strings in Jar Launcher.app, and it seems to use /usr/bin/java (the same as above). |
@adrianN Can you try updating to the latest java version (8u25). It is anyway recommended from a security standpoint; it might also help with the errors. Also, it is strange that you get different errors on the command line compared to the Jar Launcher. Do you have two versions of java installed by any chance? |
@hrj I couldn't reproduce the issue on Mac OSX Yosemite ( 10.10.1 - 14B25). $ java -version Accessed the following websites without any issues, |
Based on a discussion on Reddit it is now confirmed that the first release of Java 8 had a problem; some classes were missing. The latest versions of Java 8 don't seem to have this problem. @adrianN Please try updating to Java 8u25 and let us know if the issue persists. |
I start the browser. I click the "blog" link to stay abreast with the project. The SSL connection fails.
Creating req mgr for: FramePanel[windowId=null,hashCode=1876631416,parent=null]
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
name indexer : namedItem in class org.lobobrowser.html.js.Window
Setting up scope: JavaObjectWrapper[object=org.lobobrowser.html.js.Window@53e823b7,type=org.lobobrowser.html.js.Window]
Exception in thread "JS Scheduler" java.lang.NullPointerException
at org.lobobrowser.html.js.Window$JSScheduler.run(Window.java:325)
Found stylesheets: 0
Stylesheets set to null
Response: ClientletResponseImpl[url=about:welcome,method=GET,mimeType=text/html,fromCache=false,requestType=OPEN_WINDOW]
Consider Navigating to: https://blog.gngr.info
Dec 19, 2014 5:39:02 PM org.lobobrowser.primary.ext.ExtensionImpl showError
WARNING: showError(): An error occurred trying to process document [null]
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1991)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1104)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at com.squareup.okhttp.Connection.upgradeToTls(Connection.java:238)
at com.squareup.okhttp.Connection.connect(Connection.java:153)
at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:169)
at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:104)
at com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:131)
at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:235)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:420)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:371)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:466)
at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
at org.lobobrowser.request.RequestEngine.processHandler(RequestEngine.java:789)
at org.lobobrowser.request.RequestEngine.access$1(RequestEngine.java:744)
at org.lobobrowser.request.RequestEngine$RequestHandlerTask.lambda$0(RequestEngine.java:1078)
at org.lobobrowser.request.RequestEngine$RequestHandlerTask$$Lambda$35/1989574884.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.lobobrowser.request.RequestEngine$RequestHandlerTask.run(RequestEngine.java:1084)
at org.lobobrowser.util.SimpleThreadPool$ThreadRunnable.run(SimpleThreadPool.java:129)
at java.lang.Thread.run(Thread.java:745)
In : about:welcome Acquiring Semaphore: java.util.concurrent.Semaphore@7ddafce5[Permits = 1]
Going to stop JS scheduler
Finished interrupting
Clearing document scope
Setting up scope: JavaObjectWrapper[object=org.lobobrowser.html.js.Window@53e823b7,type=org.lobobrowser.html.js.Window]
Found stylesheets: 0
Stylesheets set to null
In about:error Running loop
Response: null
The text was updated successfully, but these errors were encountered: