添加DNS接口出错
本帖最后由 夜寐纵欲 于 2025-1-16 01:37 编辑为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.4.0
系统版本:debian11
问题描述:添加dns接口出错
相关截图(日志、错误):添加dns接口时,面板报错REQUEST_DATE: 2025-01-15 02:06:49VERSION: Debian GNU/Linux 11 (bullseye) x86_64(Py3.7.9) - 9.4.0 REMOTE_ADDR: 2402:d0c0:10:5688::1 REQUEST_URI: POST /ssl/dnsapi/add_dns_data?REQUEST_FORM: {'dns_name': 'DNSPodDns', 'ps': '', 'pdata': '{"dns_name":"DNSPodDns","Token":"627e90f796bb12d8ef1c873faebfb2e0","ID":"549810","ps":""}'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2541, in publicObject res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2488, in run result = getattr(toObject, get.action)(get)File "/www/server/panel/class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata)File "/www/server/panel/class/sslModel/dnsapiModel.py", line 71, in add_dns_data data = json.loads(public.readFile(sfile))File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s)File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end())File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from Nonejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)点了 尝试修复没有反应
点修复无效
页:
[1]