【待反馈】腾讯云,SSL证书保存一直出错
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:v11.8.0系统版本:OpenCloudOS 9.6 x86_64(Py3.7.16)
问题描述:保存SSL证书一直报错
相关截图(日志、错误):
换了2台服务器都是这样的,保存SSL证书就一直出错。(图1)后面开了F12抓包,发现是这样的出现错误。
然后打开SSL证书的时候,也会报错,这个偶发性。(图2)
更新和修复面板很多次,都一样。
您好,您修复下面板,这个之前做过修复的 大炮运维V587 发表于 2026-6-17 15:53
您好,您修复下面板,这个之前做过修复的
还是报错。我确认更新到最新版本了,
当前已是最新版本
当前版本:11.8.0
更新时间:2026-06-17 17:12:35
<div>
<h3>出错了,面板运行时发生错误!</h3>
<div style="margin-bottom: 15px;margin-top: 15px;color: red;">
<h4 style="font-size: none;">TypeError: the JSON object must be str, bytes or bytearray, not bool</h4>
</div>
<pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2026-06-17 17:29:35
VERSION: OpenCloudOS 9.4 x86_64(Py3.7.16) - 11.8.0
REMOTE_ADDR: 95.181.191.184
REQUEST_URI: POST /ssl/cert/new_ssl_proxy?
REQUEST_FORM: {'data': '{"url":"/api/v1/ssl/get_order_list","p":1,"limit":10,"search":"","status":"","product_id":""}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36</pre>
<pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
File "/www/server/panel/class/sslModel/certModel.py", line 1441, 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</pre>
页:
[1]