通过对等调用soap webservice重置连接 [英] connection reset by peer calling soap webservice

查看:73
本文介绍了通过对等调用soap webservice重置连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前正在尝试调用 Web 服务,但是我收到了对等方的连接重置/连接重置,以下是堆栈跟踪:

Currently trying to invoke a web service, however i am getting a connection reset/connection reset by peer, below is the stack trace:

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)

推荐答案

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

It was an SSL issue, as per the trace, there was only a Client Hello, but no Server Hello Response, (http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html) after import of server public key to client keystore it is now working

这篇关于通过对等调用soap webservice重置连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆