问题描述: 最近使用GitHub上的原版宝塔7.7.0 时,安装成功后,无法使用自带的终端功能。点击后一直黑屏。 尝试网上的方法都无法解决.只能安装最新版本官方的版本。同时7.7.0的开心版也存在该问题。不知道大家有没有遇到过。 之前大概一两年前都没有此问题
8838/btpanel-v7.7.0
查看日志有如下websocket错误日志 Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 999, in handle_one_response self.run_application() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 75, in run_application self.run_websocket() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 52, in run_websocket list(self.application(self.environ, lambda s, h, e=None: [])) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2552, in __call__ return self.wsgi_app(environ, start_response) 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/map.py", line 622, in match raise WebsocketMismatch() from None werkzeug.routing.exceptions.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. 2024-06-18T05:18:01Z {‘REMOTE_ADDR’: ”, ‘REMOTE_PORT’: ‘39882’, ‘HTTP_HOST’: ”, (hidden keys: 31)} failed with WebsocketMismatch
Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 999, in handle_one_response self.run_application() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 75, in run_application self.run_websocket() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 52, in run_websocket list(self.application(self.environ, lambda s, h, e=None: [])) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2552, in __call__ return self.wsgi_app(environ, start_response) 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/map.py", line 622, in match raise WebsocketMismatch() from None werkzeug.routing.exceptions.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. 2024-06-18T05:23:18Z {‘REMOTE_ADDR’: ‘, ‘REMOTE_PORT’: ‘54370’, ‘HTTP_HOST’: ”, (hidden keys: 31)} failed with WebsocketMismatch
Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 999, in handle_one_response self.run_application() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 75, in run_application self.run_websocket() File "/www/server/panel/pyenv/lib/python3.7/site-packages/geventwebsocket/handler.py", line 52, in run_websocket list(self.application(self.environ, lambda s, h, e=None: [])) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2552, in __call__ return self.wsgi_app(environ, start_response) 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/map.py", line 622, in match raise WebsocketMismatch() from None |