当前位置:论坛首页 > Linux面板 > 求助

【已解决】出错了,面板运行时发生错误!

发表在 Linux面板2022-4-23 01:13 [复制链接] 10 4713

Traceback (most recent call last):  File "class/pluginAuth.py", line 99, in panel.class.pluginAuth.Plugin.get_plugin_listAttributeError: 'bool' object has no attribute 'encode'During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "class/pluginAuth.py", line 128, in panel.class.pluginAuth.Plugin.get_plugin_listpublic.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器,请刷新页面重试-2During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/BTPanel/__init__.py", line 1715, in publicObject    return run_exec().run(toObject, defs, get)  File "/www/server/panel/BTPanel/__init__.py", line 1663, in run    result = getattr(toObject,get.action)(get)  File "class/panelPlugin.py", line 1259, in get_soft_list    softList = self.get_cloud_list(get)  File "class/panelPlugin.py", line 936, in get_cloud_list    softList = Plugin(False).get_plugin_list(force)  File "class/pluginAuth.py", line 133, in panel.class.pluginAuth.Plugin.get_plugin_listpublic.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器,请刷新页面重试-3
使用道具 举报 只看该作者 回复
发表于 2022-4-23 01:15:28 | 显示全部楼层
REQUEST_DATE: 2022-04-23 01:10:29
PAN_VERSION: 7.9.0
  OS_VERSION: CentOS  7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR:
REQUEST_URI: POST /plugin?action=get_soft_list
REQUEST_FORM: {'p': '1', 'type': '0', 'tojs': 'soft.get_list', 'force': '0', 'query': 'linux'}
  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
使用道具 举报 回复 支持 反对
发表于 2022-4-23 01:33:54 | 显示全部楼层
(, 'Connection to api.bt.cn timed out. (connect timeout=30)') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetry
使用道具 举报 回复 支持 反对
发表于 2022-4-23 09:25:19 | 显示全部楼层
好男人文哥 发表于 2022-4-23 01:33
(, 'Connection to api.bt.cn timed out. (connect timeout=30)') During handling of the above exception ...

  1. wget http://download.bt.cn/tools/auto_fix.sh && bash auto_fix.sh
复制代码
您好,您到服务器SSH终端里使用root权限执行上面的命令,设置下对应服务器归属地的节点后,重新修复下面板
使用道具 举报 回复 支持 反对
发表于 2022-4-23 11:06:32 | 显示全部楼层
[root@server ~]# su - root #Change to root
上一次登录:六 4月 23 11:05:40 CST 2022从 124.156.149.200pts/1 上
[root@server ~]# wget http://download.bt.cn/tools/auto_fix.sh && bash auto_fix.sh
--2022-04-23 11:06:19--  http://download.bt.cn/tools/auto_fix.sh
Resolving download.bt.cn (download.bt.cn)... 38.34.185.130, 240e:a5:4200:89::256
Connecting to download.bt.cn (download.bt.cn)|38.34.185.130|:80...
使用道具 举报 回复 支持 反对
发表于 2022-4-23 11:08:45 | 显示全部楼层
服务器在越南
使用道具 举报 回复 支持 反对
发表于 2022-4-23 11:38:14 | 显示全部楼层
大炮运维V587 发表于 2022-4-23 09:25
您好,您到服务器SSH终端里使用root权限执行上面的命令,设置下对应服务器归属地的节点后,重新修复下面 ...

服务器在越南
使用道具 举报 回复 支持 反对
发表于 2022-4-23 11:43:12 | 显示全部楼层
好男人文哥 发表于 2022-4-23 11:06
[root@server ~]# su - root #Change to root
上一次登录:六 4月 23 11:05:40 CST 2022从 124.156.149.200 ...

这个最后执行结果是什么?
使用道具 举报 回复 支持 反对
发表于 2022-4-23 11:48:23 | 显示全部楼层
大炮运维V587 发表于 2022-4-23 11:43
这个最后执行结果是什么?

连接超时,一直报错
使用道具 举报 回复 支持 反对
发表于 2022-4-23 15:27:48 | 显示全部楼层
好男人文哥 发表于 2022-4-23 11:48
连接超时,一直报错

连接超时的话,这个命令就没有执行成功,也没有修复成功,试试这个命令
  1. wget http://128.1.164.196/tools/auto_fix.sh && bash auto_fix.sh
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-4-23 23:13:35 | 显示全部楼层
大炮运维V587 发表于 2022-4-23 15:27
连接超时的话,这个命令就没有执行成功,也没有修复成功,试试这个命令
...

找到原因了 服务器的问题 与宝塔无关
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表