为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS 7.5.1804 x86_64(Py3.7.9) 问题描述:正在获取自定义证书信息,请稍后... 出错
相关截图(日志、错误): 出错了,面板运行时发生错误!TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2023-08-31 14:47:59 PAN_VERSION: 8.0.1 OS_VERSION: CentOS 7.5.1804 x86_64(Py3.7.9) REMOTE_ADDR: REQUEST_URI: POST /config?action=GetPanelSSLREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2015, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1962, in run result = getattr(toObject, get.action)(get) File "class/config.py", line 1406, in GetPanelSSL self.CreateSSL() File "class/config.py", line 1001, in CreateSSL result = json.loads(public.httpPost(cert_api,{'data': json.dumps(pdata)})) 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
尝试修复面板未能解决问题
|
|