Android 2.3.4 SSL问题

升级到Android 2.3.4后,我收到以下异常:

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)

以前的Android版本工作正常。 任何提示?


我明确指定了SSL超时,并且所有事情都在重新开始:

val schemeRegistry = client.getConnectionManager.getSchemeRegistry
schemeRegistry.register(new Scheme("https", SSLCertificateSocketFactory.getHttpSocketFactory(timeout,
      new SSLSessionCache(context)), 443))
链接地址: http://www.djcxy.com/p/31159.html

上一篇: Android 2.3.4 SSL problem

下一篇: Https Connection Android