Android-Query - Random SSLExceptions

后端 未结 1 493

I\'m using Android-Query to make HTTP calls, and I keep getting random SSLExceptions, like these:

AQuery(7746): javax.net.ssl.SSLException: Read error: ssl=0         


        
相关标签:
1条回答
  • 2020-12-19 17:49

    This question has been ask a couple of times here and here. This exception seems to be the result of the connection being reset by the server. I don't think there's much you can do in your application code other than to gracefully handle the exception and move on. If the server is under your control it would be worthwhile check the logs and configuration to see what is causing the connection to be reset. You might be able to minimize or resolve the issue there instead.

    0 讨论(0)
提交回复
热议问题