go-cqhttp icon indicating copy to clipboard operation
go-cqhttp copied to clipboard

[Bug]: 一直time out怎么办,但除了这个干什么网都非常快,42.81.172.81:80连不上,ping 42.81.172.81就能连上

Open sgpl1 opened this issue 2 years ago • 1 comments

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • [X] 我已经仔细阅读上述教程和 "提问前需知"
  • [X] 我已经使用 dev分支版本 测试过,问题依旧存在。
  • [x] 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • [X] 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

1.1.0

运行环境

UNIX (Android)

运行架构

ARM [64] (别名:AArch64 / ARMv8)

连接方式

WebSocket (反向)

使用协议

1 | Android Phone

重现步骤

莫名其妙就这样了

期望的结果是什么?

不再time out

实际的结果是什么?

啥都time out

简单的复现代码/链接(可选)

No response

日志记录(可选)

[2023-07-13 11:59:29] [INFO]: 当前版本:v1.1.0
[2023-07-13 11:59:29] [INFO]: 将使用 device.json 内的设备信息运行Bot.
[2023-07-13 11:59:29] [INFO]: 使用服务器 https://qsign.loli.vet/ 进行数据包签名
[2023-07-13 11:59:29] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消.
[2023-07-13 11:59:34] [INFO]: 开始尝试登录并同步消息...
[2023-07-13 11:59:34] [INFO]: 使用协议: Android Pad 8.9.63.11390
[2023-07-13 11:59:34] [INFO]: 正在检查协议更新...
[2023-07-13 11:59:34] [WARNING]: 检查协议更新失败: Get "https://ghproxy.com/https://raw.githubusercontent.com/RomiChan/protocol-versions/master/android_pad.json": dial tcp: lookup ghproxy.com on [::1]:53: read udp [::1]:48835->[::1]:53: read: connection refused
[2023-07-13 11:59:34] [INFO]: Protocol -> connect to server: 114.221.148.59:14000
[2023-07-13 11:59:34] [WARNING]: 获取T544 sign时出现错误: Get "https://qsign.loli.vet/custom_energy?data=810_9&salt=0000000000109f89ab48d52d9456153d1334d818e462000a362e302e302e323534360000000900000000": dial tcp: lookup qsign.loli.vet on [::1]:53: read udp [::1]:46361->[::1]:53: read: connection refused server: https://qsign.loli.vet/
[2023-07-13 11:59:34] [WARNING]: 获取sso sign时出现错误: Post "https://qsign.loli.vet/sign": dial tcp: lookup qsign.loli.vet on [::1]:53: read udp [::1]:47903->[::1]:53: read: connection refused server: https://qsign.loli.vet/
[2023-07-13 11:59:39] [ERROR]: Protocol -> unexpected disconnect: read tcp 172.19.0.1:38464->114.221.148.59:14000: read: connection reset by peer
[2023-07-13 11:59:39] [INFO]: Protocol -> connect to server: 42.81.172.81:80
[2023-07-13 11:59:44] [ERROR]: Protocol -> unexpected disconnect: read tcp 172.19.0.1:48034->42.81.172.81:80: read: connection reset by peer
[2023-07-13 11:59:44] [INFO]: Protocol -> connect to server: 125.94.60.146:80
[2023-07-13 11:59:49] [ERROR]: Protocol -> unexpected disconnect: read tcp 172.19.0.1:44988->125.94.60.146:80: read: connection reset by peer
[2023-07-13 11:59:49] [INFO]: Protocol -> connect to server: 114.221.148.59:14000
[2023-07-13 11:59:54] [ERROR]: Protocol -> unexpected disconnect: read tcp 172.19.0.1:38498->114.221.148.59:14000: read: connection reset by peer
[2023-07-13 11:59:54] [INFO]: Protocol -> connect to server: 42.81.172.81:80
[2023-07-13 11:59:59] [ERROR]: Protocol -> unexpected disconnect: read tcp 172.19.0.1:48052->42.81.172.81:80: read: connection reset by peer
[2023-07-13 11:59:59] [INFO]: Protocol -> connect to server: 125.94.60.146:80
[2023-07-13 12:00:04] [FATAL]: 登录时发生致命错误: Packet timed out

补充说明(可选)

No response

sgpl1 avatar Jul 13 '23 12:07 sgpl1

遇到同样的问题,dns改成114.114.114.114解决了

SlightDust avatar Jul 26 '23 11:07 SlightDust