Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR]: Protocol -> test long message server latency error: failed to connect to server during quality test: dial tcp 0.0.0.1:443: i/o timeout #1161

Closed
infinityedge01 opened this issue Nov 14, 2021 · 10 comments
Labels
bug? The issue author think this is a bug Issuebot: Pending Recheck A recheck is scheduled by Issuebot need more info  需要更多信息

Comments

@infinityedge01
Copy link

环境信息

环境信息 go-cqhttp版本: v1.0.0-beta8
运行环境: ubuntu server 20.04
连接方式: ws-reverse
使用协议: ws-reverse

在最新的release版本中能否复现
是最新release
bug内容

发送json消息会出现

[2021-11-14 16:18:51] [ERROR]: Protocol -> test long message server latency error: failed to connect to server during quality test: dial tcp 0.0.0.1:443: i/o timeout
复现方法

使用nonebot发送json消息

@infinityedge01 infinityedge01 added the bug? The issue author think this is a bug label Nov 14, 2021
@github-actions
Copy link
Contributor

我们在您的 Issue 中发现了如下问题:
  • 您的问题中缺少必要的环境信息。环境信息对于 Bug 调试非常重要,缺少这些信息将极大提高调试难度。请修改该 Issue 并包含所有必需的环境信息。(特别注意 go-cqhttp 版本部分)

因此您的 Issue 已被关闭。请参照 相关教程 按照上述要求对 Issue 进行修改。

@github-actions github-actions bot added the need more info  需要更多信息 label Nov 14, 2021
@github-actions github-actions bot added the Issuebot: Pending Recheck A recheck is scheduled by Issuebot label Nov 14, 2021
@Akegarasu
Copy link
Contributor

Akegarasu commented Nov 14, 2021

检查一下你的DNS 使用nslookup指令看一下或者curl https://ssl.htdata.qq.com
另外,不要刷issue。

@infinityedge01
Copy link
Author

检查一下你的DNS 使用nslookup指令看一下或者curl https://ssl.htdata.qq.com 另外,不要刷issue。

我这里dns解析的结果是正常的:

Non-authoritative answer:
Name:   ssl.htdata.qq.com
Address: 175.27.12.145

curl的结果也是正常的(502 bad gateway),但不知为何上面是0.0.0.1……

@Akityo
Copy link

Akityo commented Nov 15, 2021

一样的问题,我dns是这样

root@qinglong:/ql/scripts/QQ $ nslookup ssl.htdata.qq.com
Server: 183.60.83.19
Address: 183.60.83.19:53

Non-authoritative answer:
Name: ssl.htdata.qq.com
Address: 0.0.0.1

Non-authoritative answer:

@zzm88
Copy link

zzm88 commented Feb 3, 2022

我在腾讯云docker部署遇到同样的问题,修改dns服务器也没用(本地同样的docker容器运行正常),cqhttp里还是会解析成0.0.0.1

解决办法:
/etc/hosts 里添加一条183.2.143.60 ssl.htdata.qq.com

这个办法不太好,如果ip地址变了就不好使了,等一个更好的办法。

@fallenleavesguy
Copy link

fallenleavesguy commented Feb 15, 2022

我的腾讯云也是这样。。。dns是0.0.0.1。改了服务器的dns成114就好了

@Ink-33
Copy link
Contributor

Ink-33 commented Feb 15, 2022

我的腾讯云也是这样。。。dns是0.0.0.1

小心tx下毒

@CercisSuoh
Copy link

CercisSuoh commented May 18, 2022

腾讯云可以直接修改 /etc/resolv.conf 里的 nameserver

@qycss
Copy link

qycss commented Nov 8, 2022

关于腾讯云0.0.0.1:443的情况,尝试着增加指定服务器地点对应的nameserver成功了,仅供参考

https://blog.csdn.net/yeshennet/article/details/82287105

@ChanningWang2018
Copy link

`Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: ssl.htdata.qq.com
Address: 0.0.0.1
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug Issuebot: Pending Recheck A recheck is scheduled by Issuebot need more info  需要更多信息
Projects
None yet
Development

No branches or pull requests

9 participants