面板、插件版本: 11.3.0
系统版本:CentOS 7.9.2009 x86_64(Py3.7.9)
问题描述:点击SSL续签时报错
相关截图(日志、错误):
重启面板无效、删除/www/server/panel/data/mod_push_data/update_panel.pl 也无效
出错了,面板运行时发生错误!TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2026-05-17 17:26:33 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 11.3.0 REMOTE_ADDR: 39.69.203.137 REQUEST_URI: POST /ssl/cert/new_ssl_proxy?REQUEST_FORM: {'data': '{"url":"/api/v1/ssl/get_order_list","p":1,"limit":10}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/class/sslModel/certModel.py", line 1429, in new_ssl_proxy_request newssl_discount_serverid = json.loads(public.readFile("/www/server/panel/data/newssl_discount.json"))["serverid"] 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
|
|