求助
出错了,面板运行时发生错误!TypeError: can only concatenate str (not "bool") to str
REQUEST_DATE: 2022-05-04 23:17:39
PAN_VERSION: 7.8.0
OS_VERSION: CentOS7.2.1511 x86_64(Py3.7.9)
REMOTE_ADDR: 159.75.*.*
REQUEST_URI: POST /ssl?action=GetAuthToken
REQUEST_FORM: {'username': '00000000000', 'password': '0'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Traceback (most recent call last):
File "class/panelSSL.py", line 1025, in GetAuthToken
result = json.loads(rtmp);
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1786, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1734, in run
result = getattr(toObject,get.action)(get)
File "class/panelSSL.py", line 1040, in GetAuthToken
return public.returnMsg(False,'连接服务器失败!
' + rtmp)
TypeError: can only concatenate str (not "bool") to str
很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
1、在[首页]右上角点击修复面板,并退出面板重新登录。
2、如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
页:
[1]