老哥,您这个问题解决了吗?我也遇到了这个问题,指导下呗
nginx+springboot,每运行一段时间都会出现A error occurred错误?微信后台是nginx+springboot,发布运行没问题,但每运行一段时间都会出现A error occurred错误,如果重启服务器又能正常运行。 [图片] 观察猜测是用户大量访问的时间段会出现这个问题。我猜是nginx配置问题。网上搜索大量信息无果,没找到有效解决方法。这个是一个煤气微信收费程序。服务器配置如下,且硬盘空间足够。 [图片] nginx的错误日志如下: 2022/05/21 21:22:35 [error] 1792#1876: *67178 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 113.231.103.146, server: tmmcq.tfcoal.com, request: "GET /public/wxweb/autback?code=051T6oFa1Q22dD08ROFa1UYMzA3T6oFG&state=http%3A%2F%2Ftmmcq.tfcoal.com%2Findex.html HTTP/1.1", upstream: "http://127.0.0.1:81/public/wxweb/autback?code=051T6oFa1Q22dD08ROFa1UYMzA3T6oFG&state=http%3A%2F%2Ftmmcq.tfcoal.com%2Findex.html", host: "tmmcq.tfcoal.com" 2022/05/21 21:22:36 [error] 1792#1876: *67188 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 175.24.214.150, server: tmmcq.tfcoal.com, request: "POST /public/wxweb/receivemsg?signature=4270528b64b778277118d37d8a726c7b75c25d97×tamp=1653139331&nonce=409298341&openid=o6U2vuNAQwSrPNieKcqk7Bd6fHn8 HTTP/1.1", upstream: "http://127.0.0.1:81/public/wxweb/receivemsg?signature=4270528b64b778277118d37d8a726c7b75c25d97×tamp=1653139331&nonce=409298341&openid=o6U2vuNAQwSrPNieKcqk7Bd6fHn8", host: "tmmcq.tfcoal.com" 请求大神解答,谢谢 配置文件信息我在下方回复里贴出来了,麻烦您给看看。
2023-02-24