为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误): [2024-03-27 11:28:36,212][ERROR] - Exception on /sock_shell [GET]Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1826, in full_dispatch_request return self.finalize_request(rv) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1847, in finalize_request response = self.process_response(response) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2341, in process_response response = self.ensure_sync(func)(response) File "class/flask_compress.py", line 165, in after_request gzip_content = self.get_compress(app, response,'gzip') File "class/flask_compress.py", line 204, in get_compress content = self.compress_gzip(app, response,is_static) File "class/flask_compress.py", line 226, in compress_gzip if response.content_length > 1024 * 20:TypeError: '>' not supported between instances of 'NoneType' and 'int' |