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

【待反馈】刚刚把宝塔升级成7.8.0,nginx提示数据获取失败

发表在 Linux面板2021-12-29 22:34 [复制链接] 3 2111

刚刚升级完宝塔以后,安装的nginx提示     数据获取失败  检查nginx状态是否正常,重启面板和重启nginx都不行,怎么办???
使用道具 举报 只看该作者 回复
发表于 2021-12-29 22:37:30 | 显示全部楼层
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 493, in get return p.get(url,timeout,get_headers(headers),verify,get_stype(s_type)) File "class/http_requests.py", line 50, in get result = self._get_py3(url,timeout,headers,verify) File "class/http_requests.py", line 235, 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 1354, in getresponse response.begin() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 306, in begin version, status, reason = self._read_status() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 294, in _read_status raise BadStatusLine(line) http.client.BadStatusLine: HTTP/1.1 000
使用道具 举报 回复 支持 反对
发表于 2021-12-29 22:59:07 | 显示全部楼层
有没有人帮忙解决下,在线急等
使用道具 举报 回复 支持 反对
发表于 2021-12-29 23:19:55 | 显示全部楼层
您好,重新编译下nginx后再试试看能否正常。
有安装安全软件的,先关闭安全软件后再编译安装。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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