宝塔724运维节来了,企业版999元/年,送安全巡检;证书组队,低至28元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】出错了,面板运行时发生错误!

发表在 Linux面板2022-6-13 15:51 [复制链接] 13 11007

出错了,面板运行时发生错误!

无法连接宝塔云端服务器,请刷新页面重试-3
使用道具 举报 只看该作者 回复
发表于 2022-6-13 15:52:33 | 显示全部楼层
您好!截图发一下错误提示。
传图片.png
使用道具 举报 回复 支持 反对
发表于 2022-6-13 16:15:36 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-13 15:52
您好!截图发一下错误提示。

Traceback (most recent call last):
  File "class/pluginAuth.py", line 99, in panel.class.pluginAuth.Plugin.get_plugin_list
AttributeError: '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_list
public.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器,请刷新页面重试-2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 1753, in publicObject
    return run_exec().run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1701, in run
    result = getattr(toObject,get.action)(get)
  File "class/panelPlugin.py", line 1302, in get_index_list
    softList = self.get_cloud_list(get)['list']
  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_list
public.PanelError: 面板运行时发生错误: 无法连接宝塔云端服务器,请刷新页面重试-3
使用道具 举报 回复 支持 反对
发表于 2022-6-13 16:30:37 | 显示全部楼层
Nexble 发表于 2022-6-13 16:15
Traceback (most recent call last):
  File "class/pluginAuth.py", line 99, in panel.class.pluginAut ...

您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里的方法:
https://www.bt.cn/bbs/thread-87257-1-1.html

其他地区服务器执行以下命令解决,请问具体是哪个地区的服务器呢?回复一下
不知道是那个地区服务器的建议从3选项开始一个一个尝试直到可以连接为止
  1. wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
复制代码


还是不行的话执行以下命令手动清理原来的节点,让服务器自己获取节点
sed -i "/bt.cn/d" /etc/hosts
使用道具 举报 回复 支持 反对
发表于 2022-6-14 21:54:01 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-13 16:30
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接 ...

连不上 wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
使用道具 举报 回复 支持 反对
发表于 2022-6-15 11:20:43 | 显示全部楼层
Nexble 发表于 2022-6-14 21:54
连不上 wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh

执行以下命令截图看一下结果
  1. ping api.bt.cn
  2. curl -v api.bt.cn
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:18:08 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-15 11:20
执行以下命令截图看一下结果

ping api.bt.cn 不通。
使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:20:16 | 显示全部楼层
Nexble 发表于 2022-6-15 17:18
ping api.bt.cn 不通。

可以发一下执行结果吗?
使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:24:58 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-15 17:20
可以发一下执行结果吗?

1.png


使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:30:09 | 显示全部楼层

执行以下命令试试
  1. #清理原来的节点
  2. sed -i "/bt.cn/d" /etc/hosts
  3. #手动指定节点
  4. echo  "116.213.43.206 www.bt.cn api.bt.cn download.bt.cn dg2.bt.cn dg1.bt.cn" >> /etc/hosts
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:35:11 | 显示全部楼层

root@hk:~# curl -v api.bt.cn
*   Trying 116.213.43.206:80...
* Connected to api.bt.cn (116.213.43.206) port 80 (#0)
> GET / HTTP/1.1
> Host: api.bt.cn
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 15 Jun 2022 09:34:30 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< Vary: Accept-Encoding
< Strict-Transport-Security: max-age=31536000
< Cache-Control: no-cache
<
* Connection #0 to host api.bt.cn left intact
使用道具 举报 回复 支持 反对
发表于 2022-6-15 17:55:11 | 显示全部楼层
Nexble 发表于 2022-6-15 17:35
root@hk:~# curl -v api.bt.cn
*   Trying 116.213.43.206:80...
* Connected to api.bt.cn (116.213.43. ...

将您的服务器ssh信息,面板登录资料按照下面的格式发到这个邮箱:help@bt.cn
格式(必须复制帖子链接,不然不知道邮件来源):
  1. 帖子标题(遇到什么问题):
  2. 帖子链接:https://www.bt.cn/bbs/thread-xxxxxxxx
  3. SSH账号密码及端口(Windows服务器请发送远程连接):
  4. 宝塔面板登录链接地址及账号密码:
复制代码

接到邮件后将开始处理、视问题复杂度处理时间约1-3工作日,请耐心等待。
有任何进展将会回复。
使用道具 举报 回复 支持 反对
发表于 2022-6-15 18:04:22 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-15 17:55
将您的服务器ssh信息,面板登录资料按照下面的格式发到这个邮箱:help@bt.cn
格式(必须复制帖子链接,不 ...

是需要root账号还是一般账号就行? 目前服务器是生产环境。
使用道具 举报 回复 支持 反对
发表于 2022-6-15 18:06:22 | 显示全部楼层
Nexble 发表于 2022-6-15 18:04
是需要root账号还是一般账号就行? 目前服务器是生产环境。

需要root
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表