[error] 2340#0: *3571 recv() failed (104: Connection reset by peer) while reading response header fr

这篇博客记录了在运行过程中遇到的Nginx错误信息,详细日志显示了在两次不同的请求中,recv() 函数在从上游读取响应头时失败,错误代码为104:Connection reset by peer。错误发生在客户端157.90.209.80访问www.xx.com时。提供了两个CSDN上的解决方案链接,并指出在宝塔面板中通过调整某设置(从5更改为10)可以解决此问题。
摘要由CSDN通过智能技术生成

站点界面错误信息:

2021/06/13 18:54:40 [error] 2341#0: *3550 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 157.90.209.80, server: www.xx.com, request: "GET /482/364335.html HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-53.sock:", host: "www.xx.com"
2021/06/13 18:54:43 [error] 2340#0: *3571 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 157.90.209.80, server: www.xx.com, request: "GET /482/364336.html HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-53.sock:", host: "www.xx.com"

站点错误信息就是在此三个位置,PHP错误,Nginx错误,站点错误

解决方案:

<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值