当前位置:论坛首页 > Linux面板 > 求助

【已解答】为什么nginx无法查看负载状态呢?

发表在 Linux面板2021-6-15 16:32 [复制链接] 1 1758

修复过了 还是不行。查看nginx负载状态就会记录一条这样的日志。。。
Nginx负载状态获取失败: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in __call__ handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/http_requests.py", line 454, in get return p.get(url,timeout,get_headers(headers),verify,get_stype(s_type)) File "class/http_requests.py", line 41, in get result = self._get_py3(url,timeout,headers,verify) File "class/http_requests.py", line 196, in _get_py3 r_response = urllib.request.urlopen(req,timeout = timeout,context = context) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 543, in _open ‘_open‘, req) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 1378, in http_open return self.do_open(http.client.HTTPConnection, req) File "/www/server/panel/pyenv/lib/python3.7/urllib/request.py", line 1353, in do_open r = h.getresponse() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1369, in getresponse response.begin() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 310, in begin version, status, reason = self._read_status() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 279, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response


centos 7.9  宝塔专业版7.6.0
使用道具 举报 只看该作者 回复
发表于 2021-6-15 17:27:10 | 显示全部楼层
  1. rm -rf /www/server/panel/pyenv
  2. curl http://download.bt.cn/install/update_panel.sh|bash
复制代码

您好,您到服务器SSH中执行下这两条命令后,打开面板看下Nginx负载状态,还不行的话私信我您的面板登录信息或者向日葵远程连接码(推荐)
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表