V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  stoopuak197  ›  全部回复第 1 页 / 共 1 页
回复总数  4
@knightdf 两边的 timeout 指的是? read timeout 我改过但是依旧无效
@err1y 非常感谢,这是个非常棒的解决方法! 但是我还是想知道碰上这种问题该怎么解决
由于发文限制存在的一些报错如下
while not self.blocking_read(timeout):
File "/usr/local/lib/python3.8/dist-packages/amqp/connection.py", line 527, in blocking_read
frame = self.transport.read_frame()
File "/usr/local/lib/python3.8/dist-packages/amqp/transport.py", line 286, in read_frame
payload = read(size)
File "/usr/local/lib/python3.8/dist-packages/amqp/transport.py", line 457, in _read
s = recv(n - len(rbuf))
ConnectionResetError: [Errno 104] Connection reset by peer
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2661 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 13:47 · PVG 21:47 · LAX 06:47 · JFK 09:47
Developed with CodeLauncher
♥ Do have faith in what you're doing.