SSLException - 连接在 Android 4.x 版本上被对等方关闭

SSLException - Connection closed by peer on Android 4.x versions

更高的 OS 版本没有出现此问题。 Android 4.x 版本是否存在已知问题?
如果是,如何解决此问题?应该在移动应用程序还是后端进行更改?

我实际上没有完整的堆栈跟踪。这是我能看到的。

IOException:Connection closed by peer
EXCEPTION class: class javax.net.ssl.SSLException
EXCEPTION cause: null
EXCEPTION message: Connection closed by peer
RESPONSE: SSLException

该问题是由于后端禁用了 TLSv1。
根据具体情况,可以采用两种方法来解决此问题。
1. 在后端服务器上启用 TLSv1。
2. 按照建议,update the SSLEngine 以在移动应用程序上支持更高版本的 TLS。