windows2012+koa2+pm2+nginx请求无响应的问题求助
发布于 3 年前 作者 skymoon63 1999 次浏览 来自 问答

用的是腾讯云轻量级服务器(香港),最近总是遇到客户反映服务器无响应的情况。开始简单简单重启下pm2问题解决,但问题发生多次,不得不寻求解决办法。 静态文件可以正常访问,但是http接口全部有请求无响应,查看pm2日志,有请求入,但是服务没有成功发送响应到浏览器。nginx报错如下,求教各位大神。 2021/07/01 19:01:31 [error] 1120#2140: *4018 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while reading response header from upstream, client: 116.27.18.60, server: , request: “POST /api/login HTTP/1.1”, upstream: “http://127.0.0.1:888/api/login”, host: “tt.cy2020.cn”, referrer: "https://tt.cy2020.cn/manage/" 2021/07/01 19:05:01 [error] 3176#3252: *8 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 27.41.9.224, server: , request: “POST /api/home/getActive HTTP/1.1”, upstream: “http://127.0.0.1:888/api/home/getActive”, host: “tt.cy2020.cn”, referrer: “https://tt.cy2020.cn/

回到顶部