为了能快速了解并处理您的问题,请提供以下基础信息:
最新版本8.02
centos8
卡在登录界面
===============================================
请输入命令编号:22
===============================================
正在执行(22)...
===============================================
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2463, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1760, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1756, in full_dispatch_request
rv = self.preprocess_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2247, in preprocess_request
rv = self.ensure_sync(before_func)()
File "/www/server/panel/BTPanel/__init__.py", line 199, in request_check
domain_check = public.check_domain_panel()
File "class/public.py", line 2168, in check_domain_panel
tmp = GetHost()
File "class/public.py", line 635, in GetHost
if not re.match("^[\w\.\-]+$", host_tmp):
File "/www/server/panel/pyenv/lib/python3.7/re.py", line 175, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object
[2023-10-03 20:26:42][DEBUG] - 缓存更新成功,耗时: 1.18 秒\n
[2023-10-03 20:26:48][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'
[2023-10-03 20:45:17][DEBUG] - 更新成功.
[2023-10-03 20:45:17][DEBUG] - 缓存更新成功,耗时: 1.02 秒
[2023-10-03 20:45:17][DEBUG] - 开始更新消息json...
[2023-10-03 20:45:17][DEBUG] - 更新消息json成功
[2023-10-04 00:09:29][DEBUG] - 开始更新SSH登录日志...
[2023-10-04 00:09:29][DEBUG] - 更新ssh日志成功
[2023-10-04 10:35:30][DEBUG] - 更新成功.
[2023-10-04 10:35:30][DEBUG] - 缓存更新成功,耗时: 1.12 秒
[2023-10-04 10:35:30][DEBUG] - 开始更新消息json...
[2023-10-04 10:35:30][DEBUG] - 更新消息json成功
[2023-10-04 10:35:30][DEBUG] - 更新成功.
[2023-10-04 10:35:30][DEBUG] - 缓存更新成功,耗时: 1.38 秒
[2023-10-04 10:35:30][DEBUG] - 开始更新消息json...
[2023-10-04 10:35:30][DEBUG] - 更新消息json成功
[2023-10-04 21:10:36][DEBUG] - 更新成功.
[2023-10-04 21:10:36][DEBUG] - 缓存更新成功,耗时: 1.01 秒
[2023-10-04 21:10:36][DEBUG] - 开始更新消息json...
[2023-10-04 21:10:36][DEBUG] - 更新消息json成功
[2023-10-05 00:09:58][DEBUG] - 开始更新SSH登录日志...
[2023-10-05 00:09:58][DEBUG] - 更新ssh日志成功
[2023-10-05 20:52:58][DEBUG] - 更新成功.
[2023-10-05 20:52:58][DEBUG] - 缓存更新成功,耗时: 0.99 秒
[2023-10-05 20:52:58][DEBUG] - 开始更新消息json...
[2023-10-05 20:52:58][DEBUG] - 更新消息json成功
[2023-10-06 21:31:55][DEBUG] - Traceback (most recent call last):
File "class/public.py", line 6278, in rsa_decrypt
decrypted_data = cipher_private.decrypt(res, None)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/Crypto/Cipher/PKCS1_v1_5.py", line 165, in decrypt
raise ValueError("Ciphertext with incorrect length.")
ValueError: Ciphertext with incorrect length.
\n
<gevent._socket3.socket at 0x7f5f6fd9cad0 object, fd=6, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02D\x01\x00\x02@\x03\x03è2½îãø\x19\x9en}A!ÊÊðEï]6PeÙ\x14ÃR9xýo×ßø ö{ÍA`]ÿ$\x98\x83\x9d·{FLn1j®\x1d\x94¾½\x10©Égï+>O>\x00 úú\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01×úú\x00\x00\x00\x00\x00\x11\x00\x0f\x00\x00\x0cwx.jssoft.cc\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00\n'
<gevent._socket3.socket at 0x7f5f6fd9cad0 object, fd=6, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02D\x01\x00\x02@\x03\x03Æ\x1aê×?\x93\x13\x86\r\x9fc¼¢öPó»Jy!\x99\x8dÊõÑ.nQcÝ.¦ t\x89Ë\x0fF\x920[adúA\x1b\x19\\üp\x94\x14ö\x9a>Ø\x9c\x9b%6Å\x15\x16µ\x13\x00 ªª\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01×ÚÚ\x00\x00\x00\x00\x00\x11\x00\x0f\x00\x00\x0cwx.jssoft.cc\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00\n'
<gevent._socket3.socket at 0x7f5f6fd9cad0 object, fd=6, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03Ïw\x9fÈ|ëZ¨7Ñ4cÚ\x80´\x99w&²\x84!ôÊ\x12±k}<ñëJ^ +iê\x9aD=fì¹\x98I¬ÕS\x88ÇWÈ$Kʦf±Â\\\x90\x8f@*\x1dD\x00 \x9a\x9a\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93ÚÚ\x00\x00\x00\x00\x00\x11\x00\x0f\x00\x00\x0cwx.jssoft.cc\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00\n'
<gevent._socket3.socket at 0x7f5f6fd9cad0 object, fd=6, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03¢Ñ\x11\x1a\x89pÙ\x00÷U%g!ÁE~¯SÒ1^DV\x115Ê\x1c³s «\x80 \x1c+§blþ\x8e\x02ó*ÊPo²\x94É\x8cÿ·L\x93\x0cøý?¥*̶t¾¯\x00 \x9a\x9a\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93JJ\x00\x00\x00\x00\x00\x11\x00\x0f\x00\x00\x0cwx.jssoft.cc\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00\n'
[2023-10-07 08:15:16,904][ERROR] - Exception on /login [POST]
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2463, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1760, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1758, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1734, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
result = userlogin.userlogin().request_post(get)
File "class/userlogin.py", line 40, in request_post
public.chdck_salt()
File "class/public.py", line 2920, in chdck_salt
pdata['password'] = md5(md5(u_info['password']+'_bt.cn') + salt)
TypeError: string indices must be integers
\n
[2023-10-07 08:20:17,087][ERROR] - Exception on /login [POST]
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2463, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1760, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1758, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1734, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
result = userlogin.userlogin().request_post(get)
File "class/userlogin.py", line 40, in request_post
public.chdck_salt()
File "class/public.py", line 2920, in chdck_salt
pdata['password'] = md5(md5(u_info['password']+'_bt.cn') + salt)
TypeError: string indices must be integers
|
|