Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

SSL Error #83

Closed
DJaeger opened this issue Dec 15, 2015 · 6 comments
Closed

SSL Error #83

DJaeger opened this issue Dec 15, 2015 · 6 comments

Comments

@DJaeger
Copy link
Contributor

DJaeger commented Dec 15, 2015

Since some time I get a SSL error for all requests throught the proxy.

12-15 08:56:59.015 V/ApkTrack(19393): Launching version check for Dolphin
12-15 08:56:59.015 V/ApkTrack(19393): Requesting https://apktrack.kwiatkowski.fr/version/mobi.mgeek.TunnyBrowser
12-15 08:56:59.205 E/ApkTrack(19393): https://apktrack.kwiatkowski.fr/version/mobi.mgeek.TunnyBrowser could not be retrieved! (SSL handshake aborted: ssl=0x79b03ca8: I/O error during system call, Connection reset by peer)
12-15 08:56:59.205 E/ApkTrack(19393): javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x79b03ca8: I/O error during system call, Connection reset by peer
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:406)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.Connection.upgradeToTls(Connection.java:146)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.Connection.connect(Connection.java:107)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
12-15 08:56:59.205 E/ApkTrack(19393):   at com.android.okhttp.internal.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:161)
12-15 08:56:59.205 E/ApkTrack(19393):   at fr.kwiatkowski.apktrack.service.WebService.get_page(WebService.java:152)
12-15 08:56:59.205 E/ApkTrack(19393):   at fr.kwiatkowski.apktrack.service.WebService._perform_version_check(WebService.java:453)
12-15 08:56:59.205 E/ApkTrack(19393):   at fr.kwiatkowski.apktrack.service.WebService.onHandleIntent(WebService.java:107)
12-15 08:56:59.205 E/ApkTrack(19393):   at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
12-15 08:56:59.205 E/ApkTrack(19393):   at android.os.Handler.dispatchMessage(Handler.java:102)
12-15 08:56:59.205 E/ApkTrack(19393):   at android.os.Looper.loop(Looper.java:136)
12-15 08:56:59.205 E/ApkTrack(19393):   at android.os.HandlerThread.run(HandlerThread.java:61)
@JusticeRage
Copy link
Owner

Thanks for letting me know. I had updated the web server's configuration to use more recent SSL algorithms. Mayve in the process, some devices ceased to be able to establish a secure connexion (because there are no longer algorithms in common).

I've downgraded the configuration so that "old" SSL clients are supported again, let me know if this was the issue.

@DJaeger
Copy link
Contributor Author

DJaeger commented Dec 16, 2015

Still the same issue

@JusticeRage
Copy link
Owner

Wow, I'm drawing a blank here.
Does this error happen all the time, or sporadically? When did this begin? What device (and OS version) are you using?
Is anyone else facing this issue?

@ThibaultMndr
Copy link

I'm facing the same issue, approximatively since one month. Using F-Droid, PlayStore or X-Posed works, but AppBrain/ApkTrackStable does not.

Ainol Spark, Cyanogenmod 11 unofficial build of summer 2014, not upgradable, so I suspect an openssl unsupported cipher issue

@JusticeRage
Copy link
Owner

I've tinkered with my server's nginx configuration some more, and SSLLabs reports that all recent Android versions should be supported. Apologies for the inconvenience, and thanks for reporting the problem.

I should add that the proxy is not receiving version information from AppBrain since yesterday (they return blank pages). The situation is currently being resolved, but it may take a few more days before the proxy works properly.

@ThibaultMndr
Copy link

Thanks a lot it works for me now.

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

No branches or pull requests

3 participants