Android 2.3.4 SSL problem
After upgrading to Android 2.3.4, I am getting following exception:
javax.net.ssl.SSLException: Read error: ssl=0x*: I/O error during system call, Connection timed out
at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:788)
Previous versions of Android were working OK. Any hints?
我明确指定了SSL超时,并且所有事情都在重新开始:
val schemeRegistry = client.getConnectionManager.getSchemeRegistry
schemeRegistry.register(new Scheme("https", SSLCertificateSocketFactory.getHttpSocketFactory(timeout,
new SSLSessionCache(context)), 443))
链接地址: http://www.djcxy.com/p/31160.html
下一篇: Android 2.3.4 SSL问题