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

【待反馈】宝塔一键迁移API版本一直提示“连接服务器失...

发表在 Linux面板2022-12-1 21:15 [复制链接] 3 2153

设置好了接收端的api key和ip白名单,把接收端的地址和key填入,点击下一步,总是提示“连接服务器失败”

3.2stable, 3.3stable 都试过, 也尝试过修复(会升级到个3.4版本), 都是这个错误
使用道具 举报 只看该作者 回复
发表于 2022-12-1 22:39:14 | 显示全部楼层
您在迁出方的服务器ssh终端里执行
curl -v  迁入方的面板地址能通信吗?
使用道具 举报 回复 支持 反对
发表于 2022-12-1 23:19:34 | 显示全部楼层
本帖最后由 宝塔用户_oapvzy 于 2022-12-1 23:20 编辑

是通的。 详细结果如下:
  1. curl -v https://bt.**.com:8883
  2. * About to connect() to bt.**.com port 8883 (#0)
  3. *   Trying 47.108.**.19...
  4. * Connected to bt.**.com (47.108.**.19) port 8883 (#0)
  5. * Initializing NSS with certpath: sql:/etc/pki/nssdb
  6. *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  7.   CApath: none
  8. * SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  9. * Server certificate:
  10. *         subject: CN=bt.**.com
  11. *         start date: Oct 25 15:11:02 2022 GMT
  12. *         expire date: Jan 23 15:11:01 2023 GMT
  13. *         common name: bt.**.com
  14. *         issuer: CN=R3,O=Let's Encrypt,C=US
  15. > GET / HTTP/1.1
  16. > User-Agent: curl/7.29.0
  17. > Host: bt.**.com:8883
  18. > Accept: */*
  19. >
  20. < HTTP/1.1 302 FOUND
  21. < Content-Type: text/html; charset=utf-8
  22. < Content-Length: 199
  23. < Location: /login
  24. < Server: nginx
  25. < Connection: keep-alive
  26. < X-Frame-Options: SAMEORIGIN
  27. < Date: Thu, 01 Dec 2022 15:17:23 GMT
  28. <
  29. <!doctype html>
  30. <html lang=en>
  31. <title>Redirecting...</title>
  32. <h1>Redirecting...</h1>
  33. <p>You should be redirected automatically to the target URL: <a href="/login">/login</a>. If not, click the link.
  34. * Connection #0 to host bt.**.com left intact
复制代码

使用道具 举报 回复 支持 反对
发表于 2023-3-21 17:20:49 | 显示全部楼层
宝塔用户_oapvzy 发表于 2022-12-1 23:19
是通的。 详细结果如下:

您好,迁出方和迁入方是需要能互相通信,您可以检查一下接受方写的IP白名单是否正确,如果问题未能解决,可重新发帖咨询
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

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

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

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

立即付费处理

工作时间:09:00至24:00

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