【待反馈】出错了,面板运行时发生错误!
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.2.0
系统版本:
centOS7
问题描述:
相关截图(日志、错误):
REQUEST_DATE: 2026-03-20 14:22:55VERSION: CentOS7.6.1810 x86_64(Py3.7.9) - 8.2.0 REMOTE_ADDR: 216.118.251.10 REQUEST_URI: POST /plugin?action=get_index_listREQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0Traceback (most recent call last):File "pluginAuth.py", line 399, in pluginAuth.Plugin.get_plugin_listFile "/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)During handling of the above exception, another exception occurred:Traceback (most recent call last):File "pluginAuth.py", line 419, in pluginAuth.Plugin.get_plugin_listpublic.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2430, in publicObject res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2377, in run result = getattr(toObject, get.action)(get)File "class/panelPlugin.py", line 1936, in get_index_list softList = self.get_cloud_list(get)['list']File "class/panelPlugin.py", line 1255, in get_cloud_list softList = Plugin(False).get_plugin_list(force)File "pluginAuth.py", line 422, in pluginAuth.Plugin.get_plugin_listpublic.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器 您好,建议您更新面板到最新,当前最新是11.6版本,造成这个问题可能是您的DNS无法解析我司的节点域名,解决方案:
1、使用下面命令,自己修改当前服务器使用的DNS(注意,此DNS是公用的DNS)
echo "nameserver114.114.114.114" >> /etc/resolv.conf
echo "nameserver8.8.8.8" >> /etc/resolv.conf
执行一遍就可以,Linux下默认执行成功是没有返回信息的。
2、如果上述方案无法解决,联系服务器运营商,给你一个可以解析donwload.bt.cn 的DNS
页:
[1]