宝塔用户_qhoweu 发表于 2024-1-15 22:32:29

【已解答】REQUEST_DATE: 2024-01-15 22:28:26 PAN_VERSION: 7.9.0 OS_VER...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Windows面板 7.9.0
系统版本:window 2016
问题描述:出错了,面板运行时发生错误!
相关截图(日志、错误):
REQUEST_DATE: 2024-01-15 22:28:26
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2016 Datacenter (build 14393) x64 (Py3.8.6)
REMOTE_ADDR: 116.58.232.3
REQUEST_URI: POST /ajax?action=UpdatePanel
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.140
Traceback (most recent call last):
File "C:\BtSoft\panel/class\ajax.py", line 698, in UpdatePanel
    updateInfo = json.loads(result)
File "C:\Program Files\python\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
File "C:\Program Files\python\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\python\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.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 "C:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
    return run_exec().run(toObject, defs, get)
File "C:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
    result = eval(fun)
File "", line 1, in
File "C:\BtSoft\panel/class\ajax.py", line 701, in UpdatePanel
    raise public.PanelError("连接宝塔官网(www.bt.cn)异常,请检查服务网络状况")
public.PanelError: 面板运行时发生错误: '连接宝塔官网(www.bt.cn)异常,请检查服务网络状况'

阿珂 发表于 2024-1-16 09:42:09

连接不到官网,如果之前有做hosts,先将hosts清除
页: [1]
查看完整版本: 【已解答】REQUEST_DATE: 2024-01-15 22:28:26 PAN_VERSION: 7.9.0 OS_VER...