A strange ssl error on android: SSL handshake aborted,Connection reset by peer -


the error happens sometimes, error state may last while, , after recover automatically.

the exception below: enter image description here

ssl handshakes failed,it seems server reset connection,then captured packets @ sever end: enter image description here

192.168.5.126 server,192.168.111.216 android client.we can see client reset connection first , send "client hello" server repeatedly, server reset connection.

in successfull case, packets below: enter image description here

so, why client choose reset connection, happens @ time?

  1. does server not support tls1? not exactly, ok.

  2. dose network affected? use wifi , can capture packets on server end indicates network ok.

  3. some bugs may exist in implementation of https? use org.apache.http package connect https server.

then google it, found no complete solution.

has encountered problem this, or can help? lot!


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -