Skip to content
New issue

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

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

Already on GitHub? # to your account

腾讯api挂了 #133

Open
quantww opened this issue Nov 12, 2024 · 4 comments
Open

腾讯api挂了 #133

quantww opened this issue Nov 12, 2024 · 4 comments

Comments

@quantww
Copy link

quantww commented Nov 12, 2024

HTTPConnectionPool(host='qt.gtimg.cn', port=80): Max retries exceeded with url: /q=szSHRQ88 (Caused
by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x05BA3040>: Failed to establish
a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试
失败。'))

今天突然就这样了 无法访问此网站
找不到 gt.gtimg.cn 的服务器 IP 地址。

@wzlu
Copy link

wzlu commented Nov 12, 2024

qt.gtimg.cn、stock.gtimg.cn, 不是gt.gtimg.cn

@quantww
Copy link
Author

quantww commented Nov 12, 2024

image

哦对,我web访问手动输错了,可能刚刚网络突然不稳定导致。那我以后加个异常处理换另一个API

@wzlu
Copy link

wzlu commented Nov 12, 2024

szSHRQ88 是个啥?

@quantww
Copy link
Author

quantww commented Nov 12, 2024

明白怎么回事了,我的查询的code列表里插入了一个szSHRQ88(标准券 国债逆回购)导致无法返回数据,之前实盘一两年了都好好的,感谢大佬排查

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants