【待反馈】为什么windows面板反代NGINX并发多了就出现502 bad
我的配置是这样的,这是windows面板我如果换成linux就不会有这个问题。这问题困扰很久了。我后端是win的 每次搭建还得买个linux服务器!! 求助2024/08/31 14:41:11 8540#11620: *19833 no live upstreams while connecting to upstream
2024/08/31 14:41:11 8540#11620: *644 no live upstreams while connecting to upstream
2024/08/31 14:41:11 8540#11620: *1258 no live upstreams while connecting to upstream
2024/08/31 14:41:11 8540#11620: *9243 no live upstreams while connecting to upstream
2024/08/31 14:41:11 8540#11620: *14245 no live upstreams while connecting to upstream
这是错误 希望大佬帮个忙。
您好,您后端的访问应该是需要用到ip的。而不是本地,而且您的报错是因为找不到后端,或者是后端没有响应 运维技术阿闯 发表于 2024-8-31 16:41
您好,您后端的访问应该是需要用到ip的。而不是本地,而且您的报错是因为找不到后端,或者是后端没有响应 ...
您好,大技术,我这个是每几分钟出现一次这种情况。并不是一直出现。我的NG和服务是在同一个服务器 填写127.0.0.1不行吗? 宝塔用户_hbqvtw 发表于 2024-8-31 16:58
您好,大技术,我这个是每几分钟出现一次这种情况。并不是一直出现。我的NG和服务是在同一个服务器 填写1 ...
我刚刚改成服务器的实际IP 也还是会出现这样报错
2024/08/31 16:58:28 13604#3444: *14212 no live upstreams while connecting to upstream, client: 113.219.202.162, server: team.123.net, request: "GET /api/pick/soft/3645BB0E8DBF797F HTTP/1.1", upstream: "http://backend1/api/pick/soft/3645BB0E8DBF797F", host: "team.123.net", referrer: "http://team.123.net/api/pick/soft/3645BB0E8DBF797F"
2024/08/31 16:58:28 13604#3444: *7392 no live upstreams while connecting to upstream, client: 113.219.202.162, server: team.123.net, request: "GET /api/pick/soft/3645BB0E8DBF797F HTTP/1.1", upstream: "http://backend1/api/pick/soft/3645BB0E8DBF797F", host: "team.123.net", referrer: "http://team.123.net/api/pick/soft/3645BB0E8DBF797F"
2024/08/31 16:58:28 13604#3444: *16151 no live upstreams while connecting to upstream, client: 113.219.202.173, server: team.123.net, request: "POST /api/pick/soft/3643BA1E89AB797C83A08C HTTP/1.1", upstream: "http://backend1/api/pick/soft/3643BA1E89AB797C83A08C", host: "team.123.net", referrer: "http://team.123.net/api/pick/soft/3643BA1E89AB797C83A08C"
2024/08/31 16:58:28 13604#3444: *423 no live upstreams while connecting to upstream, client: 113.219.202.141, server: team.123.net, request: "GET /api/team/soft/getAccountLastInfoA?acc_id=14325 HTTP/1.1", upstream: "http://backend1/api/team/soft/getAccountLastInfoA?acc_id=14325", host: "team.123.net", referrer: "http://team.123.net/api/team/soft/getAccountLastInfoA?acc_id=14325"
2024/08/31 16:58:28 13604#3444: *15238 no live upstreams while connecting to upstream, client: 113.219.202.152, server: team.123.net, request: "POST /api/pick/soft/3643BA1E89AB797C83A08C HTTP/1.1", upstream: "http://backend1/api/pick/soft/3643BA1E89AB797C83A08C", host: "team.123.net", referrer: "http://team.123.net/api/pick/soft/3643BA1E89AB797C83A08C"
2024/08/31 16:58:28 13604#3444: *16152 no live upstreams while connecting to upstream, client: 113.219.202.162, server: team.123.net, request: "GET /api/pick/soft/3645BB0E8DBF797F HTTP/1.1", upstream: "http://backend1/api/pick/soft/3645BB0E8DBF797F", host: "team.123.net", referrer: "http://team.123.net/api/pick/soft/3645BB0E8DBF797F" 宝塔用户_hbqvtw 发表于 2024-8-31 16:59
我刚刚改成服务器的实际IP 也还是会出现这样报错
2024/08/31 16:58:28 13604#3444: *14212 no l ...
您好,您这个还是因为没有找到上有服务器,意思就是无法连接 这个应该是win版本的nginx的缺陷,BT团队能否修复一下。启动多个进程,只有1个进程是在占用资源。其他都没使用,句柄达到一定数量就会出现全部断开。我使用linux版本的反向代理。就没问题。
宝塔用户_hbqvtw 发表于 2024-8-31 20:09
这个应该是win版本的nginx的缺陷,BT团队能否修复一下。启动多个进程,只有1个进程是在占用资源。其他都没 ...
您弄好,您这边给nginx设置多少进程,以及,您windows是什么系统版本
页:
[1]