【问题标题】:connection reset by peer calling soap webservice对等调用soap webservice重置连接
【发布时间】:2015-03-11 03:28:49
【问题描述】:

目前正在尝试调用 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)

【问题讨论】:

标签: java web-services sockets networking soap


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2016-11-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-22
    • 1970-01-01
    • 2020-02-25
    • 1970-01-01
    相关资源
    最近更新 更多