通过对调用Web服务的SOAP连接重置(connection reset by peer calli

2019-10-22 05:57发布

目前正试图调用Web服务,但我得到由同行的连接复位/连接重置,下面是堆栈跟踪:

WRITE: TLSv1 Handshake, length = 81
WRITE: SSLv2 client hello message, length = 110
waiting for close_notify or alert: state 1
Exception while waiting for close java.net.SocketException: Connection reset
handling exception: java.net.SocketException: Connection reset
SEND TLSv1 ALERT:  fatal, description = unexpected_message
WRITE: TLSv1 Alert, length = 2
Exception sending alert: java.net.SocketException: socket write error: Connection reset by peer.
called closeSocket()
called close()
called closeInternal(true)
called close()
called closeInternal(true)
called close()
called closeInternal(true)

Answer 1:

这是一个SSL的问题,按照跟踪,只有一个客户机问候,但没有服务器问候响应,( http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide html的服务器公共密钥导入到客户端密钥库后),它现在正



文章来源: connection reset by peer calling soap webservice