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

【待反馈】绑定宝塔账号,连接云端服务器失败!

发表在 Linux面板2022-9-22 10:13 [复制链接] 5 4834

REQUEST_DATE: 2022-09-22 10:01:59 PAN_VERSION: 7.9.4  OS_VERSION: Kylin  Advanced Server V10 (SP2) x86_64(Py3.7.8) REMOTE_ADDR: 10.24.107.247 REQUEST_URI: POST /ssl?action=GetAuthTokenREQUEST_FORM: {'username': '******', 'password': '******'}  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (most recent call last):  File "class/panelSSL.py", line 1059, in GetAuthToken    rtmp = public.httpPost(self.__BINDURL,pdata)  File "class/public.py", line 139, in httpPost    return HttpPost(url,data,timeout)  File "class/public.py", line 121, in HttpPost    import http_requests  File "class/http_requests.py", line 19, in     import requestsModuleNotFoundError: No module named 'requests'During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/BTPanel/__init__.py", line 1824, in publicObject    return run_exec().run(toObject, defs, get)  File "/www/server/panel/BTPanel/__init__.py", line 1776, in run    result = getattr(toObject,get.action)(get)  File "class/panelSSL.py", line 1079, in GetAuthToken    raise public.error_conn_cloud(error)public.PanelError: 面板运行时发生错误: 抱歉,连接云端服务器失败! -
使用道具 举报 只看该作者 回复
发表于 2022-9-22 10:18:12 | 显示全部楼层
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里的方法:
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
复制代码


尝试过以上方法后还是连接不上的话,逐条执行以下命令截图看一下结果
  1. ping www.bt.cn
  2. curl -v https://api.bt.cn
  3. curl -v www.baidu.com
  4. curl -s -m 5 http://download.bt.cn/tools/btcheck.sh|bash
  5. history | grep sh
复制代码

使用道具 举报 回复 支持 反对
发表于 2022-9-22 10:21:41 | 显示全部楼层
[root@qilinceshi ~]# ping www.bt.com
PING btgroup-1.s.llnwi.net (69.28.181.240) 56(84) bytes of data.
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=1 ttl=48 time=395 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=2 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=3 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=4 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=5 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=6 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=7 ttl=48 time=199 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=8 ttl=48 time=201 ms
^C
--- btgroup-1.s.llnwi.net ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7010ms
rtt min/avg/max/mdev = 197.557/222.901/395.471/65.231 ms
使用道具 举报 回复 支持 反对
发表于 2022-9-22 10:26:38 | 显示全部楼层
堡塔运维向樛木 发表于 2022-9-22 10:18
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里 ...

上面方法都试过了,还是不行
[root@qilinceshi ~]# ping www.bt.com
PING btgroup-1.s.llnwi.net (69.28.181.240) 56(84) bytes of data.
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=1 ttl=48 time=395 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=2 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=3 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=4 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=5 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=6 ttl=48 time=198 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=7 ttl=48 time=199 ms
64 bytes from https-69-28-181-240.lax.llnw.net (69.28.181.240): icmp_seq=8 ttl=48 time=201 ms
^C
--- btgroup-1.s.llnwi.net ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7010ms
rtt min/avg/max/mdev = 197.557/222.901/395.471/65.231 ms
//---------------------------------
[root@qilinceshi ~]# curl -v https://api.bt.cn
*   Trying 116.213.43.206:443...
* Connected to api.bt.cn (116.213.43.206) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=CN; ST=\U5E7F\U4E1C\U7701; O=\U5E7F\U4E1C\U5821\U5854\U5B89\U5168\U6280\U672F\U6709\U9650\U516C\U53F8; CN=*.bt.cn
*  start date: Sep  7 00:00:00 2022 GMT
*  expire date: Oct  8 23:59:59 2023 GMT
*  subjectAltName: host "api.bt.cn" matched cert's "*.bt.cn"
*  issuer: C=CN; O=sslTrus; CN=sslTrus (RSA) OV CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x564c3a67ed10)
> GET / HTTP/2
> Host: api.bt.cn
> user-agent: curl/7.71.1
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 22 Sep 2022 02:22:46 GMT
< content-type: text/html; charset=utf-8
< 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
//--------------
[root@qilinceshi ~]# curl -v www.baidu.com
*   Trying 14.215.177.39:80...
* Connected to www.baidu.com (14.215.177.39) port 80 (#0)
> GET / HTTP/1.1
> Host: www.baidu.com
> User-Agent: curl/7.71.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
< Connection: keep-alive
< Content-Length: 2381
< Content-Type: text/html
< Date: Thu, 22 Sep 2022 02:24:25 GMT
< Etag: "588604dd-94d"
< Last-Modified: Mon, 23 Jan 2017 13:27:57 GMT
< Pragma: no-cache
< Server: bfe/1.0.8.18
< Set-Cookie: BDORZ=27315; max-age=86400; domain=.baidu.com; path=/
//--------------------------------
[root@qilinceshi ~]# curl -s -m 5 http://download.bt.cn/tools/btcheck.sh|bash
-------------------- /www/server/panel/install/public.sh
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/userInfo.json进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/plugin_bin.pl进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/auth_list.json进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/install/check.sh进行stat调用时
-------------------- /www/server/panel/class/public.py
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
www.bt.cn 302 116.213.43.206
api.bt.cn 200 116.213.43.206
请将以上所有内容截图完整上传宝塔论坛或发送给宝塔运维
//----------------------
[root@qilinceshi ~]# history | grep sh
   73  ./startup.sh
  117  ./startup.sh
  139  ./startup.sh
  154  cat alldeploy.sh
  155  ./alldeploy.sh
  225  ./shutdown.sh
  226  ./startup.sh
  246  ./startup.sh
  272  ./shutdown.
  273  ./shutdown.sh
  274  ./startup.sh
  284  ./shutdown.sh
  312  ./shutdown.sh
  313  ./startup.sh
  317  ./shutdown.sh
  354  ./shutdown.sh
  408  du -sh *
  734  du -sh *
  735  du -sh
  804  md5sum cmXT5.0.13_ENT_main_kylinV10_x86_64.install.sh
  805  cat cmXT5.0.13_ENT_main_kylinV10_x86_64.install.sh.md5sum
  806  sh cmXT5.0.13_ENT_main_kylinV10_x86_64.install.sh
  835  ./SeeyonConfig.sh
  853  ./SeeyonConfig.sh
  858  ./startup.sh
  948  wget -O install_panel.sh http://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh ed8484bec
  951  if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec
  952  wget -O install_panel.sh http://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh ed8484bec
  964  wget -O install_panel.sh http://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh ed8484bec
  968  wget -O install_panel.sh http://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh ed8484bec
  969  wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
  971  curl http://download.bt.cn/install/update_panel.sh|bash
  980  if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec
  996  wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
1004  curl -s -m 5 http://download.bt.cn/tools/btcheck.sh|bash
1005  history | grep sh

使用道具 举报 回复 支持 反对
发表于 2022-9-22 10:32:26 | 显示全部楼层
堡塔运维向樛木 发表于 2022-9-22 10:18
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里 ...

[root@qilinceshi ~]# curl -s -m 5 http://download.bt.cn/tools/btcheck.sh|bash
-------------------- /www/server/panel/install/public.sh
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/userInfo.json进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/plugin_bin.pl进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/data/auth_list.json进行stat调用时
lsattr: 没有那个文件或目录 尝试对/www/server/panel/install/check.sh进行stat调用时
-------------------- /www/server/panel/class/public.py
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
grep: /www/server/panel/data/userInfo.json: 没有那个文件或目录
www.bt.cn 302 116.213.43.206
api.bt.cn 200 116.213.43.206
请将以上所有内容截图完整上传宝塔论坛或发送给宝塔运维
使用道具 举报 回复 支持 反对
发表于 2022-9-22 11:03:29 | 显示全部楼层
宝塔用户_gjqshm 发表于 2022-9-22 10:26
上面方法都试过了,还是不行
[root@qilinceshi ~]# ping www.bt.com
PING btgroup-1.s.llnwi.net (69.28. ...

您好!是否方便提供一下服务器,这边协助您排查一下问题所在。
将您的服务器ssh信息或者远程码,发到这个邮箱:parmaq@qq.com
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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