Closed arturdryomov closed 8 years ago
That socket factory is not used for connecting to the production endpoint. It's not used at all in u2020, actually, since there is no staging endpoint for us to connect to. I can't reproduce this. Got any more info?
I can confirm the same error message if you switch the endpoint to production in the internal debug build.
I’ve cloned the most recent master
which is 6866f36
at this point, run ./gradlew assembleDebug
, installed the internal debug build, chose the production endpoint and saw the error state in the application. The exception I’ve posted was in the logcat.
Will be fixed by https://github.com/square/okhttp/pull/2330
When switching endpoint to production the data will not be fetched due to this exception. This happens most likely because custom
SSLSocketFactory
does not work well with OkHttp 3.1.1. I think this can be related to square/okhttp#1360.