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

【已解答】绑定手机号失败,

发表在 Linux面板2022-4-15 16:12 [复制链接] 1 5222

Traceback (most recent call last):  File "class/panelSSL.py", line 1037, in GetAuthToken    result = json.loads(rtmp);  File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads    raise TypeError(f'the JSON object must be str, bytes or bytearray, 'TypeError: the JSON object must be str, bytes or bytearray, not boolDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/BTPanel/__init__.py", line 1711, in publicObject    return run_exec().run(toObject, defs, get)  File "/www/server/panel/BTPanel/__init__.py", line 1659, in run    result = getattr(toObject,get.action)(get)  File "class/panelSSL.py", line 1051, in GetAuthToken    raise public.error_conn_cloud(str(ex))TypeError: exceptions must derive from BaseException
使用道具 举报 只看该作者 回复
发表于 2022-4-15 16:19:36 | 显示全部楼层
您好,请问具体是哪个地区的服务器呢?回复一下
https://www.bt.cn/bbs/thread-87257-1-1.html
试试这个帖子的方法更换节点看是否适合您,如果不行,执行下面的命令自动修复一下节点看看,不要在宝塔面板自带的终端里面执行
  1. wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
复制代码

仍然不行可能是面板依赖的python环境损坏,可以尝试删掉损坏的环境,然后重新下载修复看是否正常,命令如下:
不要在面板里面的终端执行此命令。
  1. #删除面板依赖的环境
  2. rm -rf /www/server/panel/pyenv
  3. #修复环境
  4. curl http://download.bt.cn/install/update_panel.sh|bash
复制代码

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

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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