gpt4 book ai didi

java - 通过对等方调用 SOAP 网络服务重置连接

转载 作者:太空宇宙 更新时间:2023-11-04 06:08:52 26 4
gpt4 key购买 nike

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

最佳答案

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

关于java - 通过对等方调用 SOAP 网络服务重置连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28978070/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com