tanbin 发表于 2024-8-14 10:15:12

【待反馈】面板运行时发生错误: '连接宝塔官网(www.bt.cn

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本
问题描述:windows server 2025 标准版
相关截图(日志、错误):
REQUEST_DATE: 2024-08-14 10:10:46 PAN_VERSION: 8.1.0OS_VERSION: Windows Server 2025 Datacenter (build 26100) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /ajax?action=UpdatePanelREQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0Traceback (most recent call last):File "D:\jie_bao\BtSoft\panel/class\ajax.py", line 732, 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 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 "D:\jie_bao\BtSoft\panel\BTPanel\__init__.py", line 1591, in publicObject    return run_exec().run(toObject, defs, get)File "D:\jie_bao\BtSoft\panel\BTPanel\__init__.py", line 1830, in run    result = resobj(get)File "D:\jie_bao\BtSoft\panel/class\ajax.py", line 734, in UpdatePanel    raise public.PanelError("连接宝塔官网(www.bt.cn)异常,请检查服务网络状况")public.PanelError: 面板运行时发生错误: '连接宝塔官网(www.bt.cn)异常,请检查服务网络状况'

mybaota 发表于 2024-9-20 11:28:20

看面板设置里这个是不是ipv4,不是的话改下试试

堡塔运维南一 发表于 2024-9-21 17:41:52

问题解决了吗

运维技术阿闯 发表于 2024-8-17 14:45:15

有此问题,请点我名字私信我

xieyin 发表于 2024-8-17 14:43:06



#禁止corel连接网络
#==========================================
127.0.0.1 65.200.22.99
127.0.0.1 65.200.22.154
127.0.0.1 mc.corel.com
127.0.0.1 dam.corel.com
127.0.0.1 ipm.corel.com
127.0.0.1 ipp.corel.com
127.0.0.1 iws.corel.com
127.0.0.1 apps.corel.com
127.0.0.1 content.corel.com
127.0.0.1 origin-mc.corel.com
127.0.0.1 secure.ipp.corel.com
127.0.0.1 hub5btmain.sandai.net
127.0.0.1 compute-1.amazonaws.com
127.0.0.1 dev1.ipm.corel.public.corel.net
127.0.0.1 oa.hy.cn
127.0.0.1 backup.lumion3d.net
127.0.0.1 license.lumion3d.net
127.0.0.1 backup.lumion3d.com
127.0.0.1 activate.lumion3d.com
127.0.0.1 license.lumiontech.net
127.0.0.1 upload.lumion3d.net
127.0.0.1 upload.lumion3d.com
127.0.0.1 cad.glodon.com


192.168.1.2 tuzewh.hy.cn

xieyin 发表于 2024-8-17 14:24:49

我也遇到了同样的问题:
打开官网正常,打开官网论坛正常
进入宝塔主页页面就有提示,

Traceback (most recent call last):
File "D:\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 "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
    return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
    result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\ajax.py", line 701, in UpdatePanel





REQUEST_DATE: 2024-08-17 14:08:10
PAN_VERSION: 7.9.0
OS_VERSION: Windows 10 Enterprise LTSC 2019 (build 17763) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /ajax?action=UpdatePanel
REQUEST_FORM: {'check': 'true'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0


<div class="pd20">
    <h3>出错了,面板运行时发生错误!</h3>
    <div style="margin-bottom: 15px;margin-top: 15px;color: red;">
      <h4 style="font-size: none;">面板运行时发生错误: '连接宝塔官网(www.bt.cn)异常,请检查服务网络状况'</h4>
    </div>
    <pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2024-08-17 14:18:33
PAN_VERSION: 7.9.0
OS_VERSION: Windows 10 Enterprise LTSC 2019 (build 17763) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /ajax?action=UpdatePanel
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0</pre>
    <pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
File "D:\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 "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
    return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
    result = eval(fun)
File "<string>", line 1, in <module>
File "D:\BtSoft\panel/class\ajax.py", line 701, in UpdatePanel
    raise public.PanelError("连接宝塔官网(www.bt.cn)异常,请检查服务网络状况")






在开发者工具界面网络中发现,下面这个网址错误500:
http://127.0.0.1:8888/ajax?action=UpdatePanel

运维技术阿闯 发表于 2024-8-16 11:04:52

noaaa 发表于 2024-8-16 05:15
同样问题,浏览器官网打不开,但是 cmd ping 官网可以ping通,安装宝塔 安装安装一半就网络连接不了 ...

您好,您这边看一下hosts文件,并截图发出来,
文件位置:C:\Windows\System32\drivers\etc\hosts

noaaa 发表于 2024-8-16 05:15:56

运维技术阿闯 发表于 2024-8-14 14:43
您好,您这边直接在您的机器上访问官网,看是否可以访问,其次,检查一下机器的hosts是否做了解析,检查一 ...

同样问题,浏览器官网打不开,但是 cmd ping 官网可以ping通,安装宝塔 安装安装一半就网络连接不了

运维技术阿闯 发表于 2024-8-14 14:43:35

您好,您这边直接在您的机器上访问官网,看是否可以访问,其次,检查一下机器的hosts是否做了解析,检查一下机器的网络情况
页: [1]
查看完整版本: 【待反馈】面板运行时发生错误: '连接宝塔官网(www.bt.cn