出错了，面板运行时发生错误！TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2023-02-08 17:03:27 PAN_VERSION: 7.9.8  OS_VERSION: Ubuntu 18.04.6 LTS x86_64(Py3.7.8) REMOTE_ADDR: 152.67.105.113 REQUEST_URI: POST /auth?action=create_plugin_other_orderREQUEST_FORM: {'pid': '600801398', 'cycle': '999', 'type': '0'}  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
请输入命令编号：22
===============================================
正在执行(22)...
===============================================
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 666, in handle_one_request
    if not self.read_request(self.requestline):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 531, in read_request
    raise _InvalidClientRequest('Invalid HTTP method: %r' % (raw_requestline,))
gevent.pywsgi._InvalidClientRequest: Invalid HTTP method: "\x16\x03\x03\x01§\x01\x00\x01£\x03\x03©ÓÁ\x7f\x03T\x19Â                                                                                                                           \x80Å.\x91%Þ\x8b*ogê~_oÞ°'Ê9\x16ÿÊìý ^\x99\x0b'L@1SËWµªI\x18\x00ê\x99Kï~¦ÛRe\x13=\x0bÚ~½©Õ\x00\x8a\x00\x05\x00\x04                                                                                                                           \x00\x07\x00À\x00\x84\x00º\x00A\x00\x9dÀ¡À\x9d\x00=\x005\x00\x9cÀ\xa0À\x9c\x00<\x00/\x00\n"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 569, in log_error
    message = msg % args
TypeError: not enough arguments for format string
<gevent._socket3.socket at 0x7f92b401c770 object, fd=12, family=2, type=1, proto=0>: 'Invalid HTTP method: "\\x16\                                                                                                                           \x03\\x03\\x01§\\x01\\x00\\x01£\\x03\\x03©ÓÁ\\x7f\\x03T\\x19Â\\x80Å.\\x91%Þ\\x8b*ogê~_oÞ°\'Ê9\\x16ÿÊìý ^\\x99\\x0b                                                                                                                           \'L@1SËWµªI\\x18\\x00ê\\x99Kï~¦ÛRe\\x13=\\x0bÚ~½©Õ\\x00\\x8a\\x00\\x05\\x00\\x04\\x00\\x07\\x00À\\x00\\x84\\x00º\\                                                                                                                           x00A\\x00\\x9dÀ¡À\\x9d\\x00=\\x005\\x00\\x9cÀ\\xa0À\\x9c\\x00<\\x00/\\x00\\n"' ()
<gevent._socket3.socket at 0x7f92b401c770 object, fd=12, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x0                                                                                                                           3\x03\x01X\x01\x00\x01T\x03\x036\x81\x8eñ7óé\x98×\\\x81ãö#æOjÆ\x9d¤ÏS0Ü\x90\x8d³ï\x82\x85IÍ Ä\x0c11\x9aó\n'
<gevent._socket3.socket at 0x7f92b401c770 object, fd=12, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x0                                                                                                                           3\x03\x01J\x01\x00\x01F\x03\x03\x8aK\x17Óá*\x1a!DlJ\x1fyXWÄÌ\t\x95ÅÀ\x10\x91\x816¨kQ\x18æ\x17» Ø\x95\tÙH;Ã¦¹\n'
<gevent._socket3.socket at 0x7f92b401c770 object, fd=12, family=2, type=1, proto=0>: Invalid http version: "\x16\x                                                                                                                           03\x03\x01\x9b\x01\x00\x01\x97\x03\x033jÊ\x9a\x97\x90JzB&ØWF$i&õ®+P¶\x10\x8c\x90æ\xad\x9a+À\x9b@R s?ObbÞÑS8\x1e\x9                                                                                                                           dkmòs*jÎä-sD\x14\x0e>¶Ý\x17øþ=*\x00\x8cººÀ\x12À\x13À\x07À'Ì\x14À/\x13\x01À\x14\x13\x02À(Ì©À0ÀsÀ`ÀrÀaÀ,ÀvÀ¯ÀwÀ\xadÌ                                                                                                                           ¨À$\x13\x05À\n"
<gevent._socket3.socket at 0x7f92b401c770 object, fd=12, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x0                                                                                                                           3\x02\x01\x9c\x01\x00\x01\x98\x03\x02o:ojüêª\x0er\x8dûÜæé\x12Ù_¶wãKÁ0\x11âçÌ\x93é¹(Q 4\x89¢Ö>©µ+\x82;Ïm\x01ÃfOénêt                                                                                                                           /\xa0´\x16\tGÜ\x80Ï1\x02¹\x00\x8a\x00\x16\x003\x00gÀ\x9eÀ¢\x00\x9e\x009\x00kÀ\x9fÀ£\x00\x9f\x00E\x00¾\x00\x88\x00Ä                                                                                                                           \x00\x9aÀ\x08À\tÀ#À¬À®À+À\n'
[2023-02-08 14:56:08][DEBUG] - 更新成功.
Collecting flask
  Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
Collecting click>=8.0
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
Collecting itsdangerous>=2.0
  Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Werkzeug>=2.2.2
  Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Collecting importlib-metadata>=3.6.0; python_version < "3.10"
  Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting Jinja2>=3.0
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting MarkupSafe>=2.1.1
  Downloading MarkupSafe-2.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting zipp>=0.5
  Downloading zipp-3.12.1-py3-none-any.whl (6.7 kB)
Collecting typing-extensions>=3.6.4; python_version < "3.8"
  Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Installing collected packages: zipp, typing-extensions, importlib-metadata, click, itsdangerous, MarkupSafe, Werkz                                                                                                                           eug, Jinja2, flask
  Attempting uninstall: click
    Found existing installation: click 7.1.2
    Uninstalling click-7.1.2:
      Successfully uninstalled click-7.1.2
  Attempting uninstall: itsdangerous
    Found existing installation: itsdangerous 1.1.0
    Uninstalling itsdangerous-1.1.0:
      Successfully uninstalled itsdangerous-1.1.0
  Attempting uninstall: MarkupSafe
    Found existing installation: MarkupSafe 1.1.1
    Uninstalling MarkupSafe-1.1.1:
      Successfully uninstalled MarkupSafe-1.1.1
  Attempting uninstall: Werkzeug
    Found existing installation: Werkzeug 1.0.1
    Uninstalling Werkzeug-1.0.1:
      Successfully uninstalled Werkzeug-1.0.1
  Attempting uninstall: Jinja2
    Found existing installation: Jinja2 2.11.2
    Uninstalling Jinja2-2.11.2:
      Successfully uninstalled Jinja2-2.11.2
  Attempting uninstall: flask
    Found existing installation: Flask 1.1.2
    Uninstalling Flask-1.1.2:
      Successfully uninstalled Flask-1.1.2
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.2 Werkzeug-2.2.2 click-8.1.3 flask-2.2.2 importlib-metadata-6.0                                                                                                                           .0 itsdangerous-2.1.2 typing-extensions-4.4.0 zipp-3.12.1
WARNING: You are using pip version 20.1.1; however, version 23.0 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command                                                                                                                           .
Collecting flask-sock
  Downloading flask_sock-0.6.0-py3-none-any.whl (3.9 kB)
Collecting simple-websocket>=0.5.1
  Downloading simple_websocket-0.9.0-py3-none-any.whl (7.3 kB)
Requirement already satisfied: flask>=2 in ./pyenv/lib/python3.7/site-packages (from flask-sock) (2.2.2)
Collecting wsproto
  Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)
Requirement already satisfied: importlib-metadata>=3.6.0; python_version < "3.10" in ./pyenv/lib/python3.7/site-pa                                                                                                                           ckages (from flask>=2->flask-sock) (6.0.0)
Requirement already satisfied: Werkzeug>=2.2.2 in ./pyenv/lib/python3.7/site-packages (from flask>=2->flask-sock)                                                                                                                            (2.2.2)
Requirement already satisfied: click>=8.0 in ./pyenv/lib/python3.7/site-packages (from flask>=2->flask-sock) (8.1.                                                                                                                           3)
Requirement already satisfied: Jinja2>=3.0 in ./pyenv/lib/python3.7/site-packages (from flask>=2->flask-sock) (3.1                                                                                                                           .2)
Requirement already satisfied: itsdangerous>=2.0 in ./pyenv/lib/python3.7/site-packages (from flask>=2->flask-sock                                                                                                                           ) (2.1.2)
Collecting h11<1,>=0.9.0
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in ./pyenv/lib/python3.7/site-pack                                                                                                                           ages (from importlib-metadata>=3.6.0; python_version < "3.10"->flask>=2->flask-sock) (4.4.0)
Requirement already satisfied: zipp>=0.5 in ./pyenv/lib/python3.7/site-packages (from importlib-metadata>=3.6.0; p                                                                                                                           ython_version < "3.10"->flask>=2->flask-sock) (3.12.1)
Requirement already satisfied: MarkupSafe>=2.1.1 in ./pyenv/lib/python3.7/site-packages (from Werkzeug>=2.2.2->fla                                                                                                                           sk>=2->flask-sock) (2.1.2)
Installing collected packages: h11, wsproto, simple-websocket, flask-sock
Successfully installed flask-sock-0.6.0 h11-0.14.0 simple-websocket-0.9.0 wsproto-1.2.0
WARNING: You are using pip version 20.1.1; however, version 23.0 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command                                                                                                                           .
Reload Bt-Panel..[2023-02-08 16:55:20][DEBUG] - 更新成功.
[2023-02-08 16:55:20][DEBUG] - 缓存更新成功,耗时: 6.91 秒
[2023-02-08 16:55:20][DEBUG] - 开始更新消息json...
        done
[2023-02-08 16:55:21][DEBUG] - 更新消息json成功
[2023-02-08 16:55:22][DEBUG] - 开始更新SSH登录日志...
[2023-02-08 16:55:22][DEBUG] - 更新ssh日志成功
\n
[2023-02-08 17:00:29][DEBUG] - Traceback (most recent call last):
  File "/www/server/panel/class/db.py", line 300, in en_crypt
    value = self._encrypt(value)
  File "/www/server/panel/class/db.py", line 273, in _encrypt
    result = PluginLoader.db_encrypt(data)
AttributeError: module 'PluginLoader' has no attribute 'db_encrypt'



