尝试各种方法均无效。包括更新tomcat的war包、重启tomcat。
应用部署在三台机器上面,全部失去连接。
在nginx上面查看日志,产生了一堆错误日志。
其中包括了
2022/08/30 00:28:27 [error] 22365#0: *614206407 connect() failed (111: Connection refused) while connecting to upstream, client: 10.13.136.141, server: localhost, request: "POST /icore-pss-svr/service//com.h...nStdSicService/Getabc HTTP/1.1", upstream: "http://10.00.000.4:8002/ixxxStdSic", host: "10.00.00.10"
2022/08/30 00:54:41 [error] 22365#0: *614210462 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.13.138.5, server: localhost, request: "POST /icore-pss-svr/xxxilService HTTP/1.1", upstream: "http://10.xx.xxx.6:8002/ixxxlService", host: "10.xx.xxx.10"
2022/08/30 00:58:30 [error] 22367#0: *614213340 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.13.138.4, server: localhost, request: "POST /icore-pss-sxxx/xxxService HTTP/1.1", upstream: "http://10.xx.xxx.6:8002/icore-pss-svxxx/xxService", host: "10.xx.xxx.10"
网上查询了下其他人的解决方法。最终服务器自己就好了。
参考
https://blog.csdn.net/weixin_44972135/article/details/92806391
标签:10,tomcat,失去,30,xx,upstream,pss,连接 From: https://www.cnblogs.com/zn1161490565/p/16646842.html