json http-outgoing:停机连接

krcsximq  于 2023-07-01  发布在  Go
关注(0)|答案(1)|浏览(251)

对URL执行JSON POST会导致'http-outgoing:关闭连接”消息。
我怎么也想不明白怎么回事。正确的ID/密码设置在标题中。不存在防火墙问题。我倾向于这是某种DNS设置。但是不知道它会是什么。

2020-06-27 16:16:33,398 - DEBUG [org.apache.http.client.protocol.RequestAuthCache:77] -  - Auth cache not set in the context
2020-06-27 16:16:33,399 - DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager:255] -  Connection request: [route: {s}->https://foobar.com:443][total kept alive: 0; route allocated: 0 of 100; total allocated: 0 of 100]
2020-06-27 16:16:33,399 - DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager:288] - Connection leased: [id: 22][route: {s}->https://foobar.com:443][total kept alive: 0; route allocated: 1 of 100; total allocated: 1 of 100]
2020-06-27 16:16:33,400 - DEBUG [org.apache.http.impl.execchain.MainClientExec:235]  - Opening connection {s}->https://foobar.com:443
2020-06-27 16:16:33,402 - DEBUG [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator:139]  - Connecting to foobar.com/10.00.00.001:443
2020-06-27 16:16:33,528 - DEBUG [org.apache.http.impl.conn.DefaultManagedHttpClientConnection:96] -- http-outgoing-22: Shutdown connection
2020-06-27 16:16:33,528 - DEBUG [org.apache.http.impl.execchain.MainClientExec:129] -- Connection discarded
2020-06-27 16:16:33,528 - DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager:326] - Connection released: [id: 22][route: {s}->https:/foobar.com:443][total kept alive: 0; route allocated: 0 of 100; total allocated: 0 of 100]
yks3o0rb

yks3o0rb1#

源系统中的JDK不支持目标上的SSL加密。
执行一个tcpdump,它可能是SSL。
随后,增加SSL上的调试日志记录确认了该问题。
更新到最新的JDK解决了这个问题。

相关问题