python-wechaty icon indicating copy to clipboard operation
python-wechaty copied to clipboard

请教。一段时间没有人说话(包括群)后。脚本就和服务器失联了。请问如何解决?

Open ashen001 opened this issue 3 years ago • 3 comments

有人频繁说话时没有这个问题。当一段时间没有人说话(包括群)后。脚本就似乎和服务器失联了。。需要停掉脚本然后重新启动2次。 第一次会卡在 2021-12-11 22:49:11,440 - Wechaty - INFO - starting puppet ... 2021-12-11 22:49:11,440 - HostiePuppet - INFO - init puppet 2021-12-11 22:49:11,447 - HostiePuppet - INFO - starting the puppet ... 停掉后再启动就正常了。。 谢谢。

我用的是padlocal的token。。谢谢。

ashen001 avatar Dec 11 '21 14:12 ashen001

主要是失联的问题非常头疼。我尝试使用 asyncioscheduler 也没有解决。脚本并没有停止运行和报错,但是无法收到服务器推送过来的消息。 非常感谢您的帮助。

ashen001 avatar Dec 11 '21 14:12 ashen001

Yes, I believe it should a bug in python-wechaty. We will try to track this problem in next days. Thanks for your posting about this problem.

wj-Mcat avatar Jan 05 '22 17:01 wj-Mcat

thx

ashen001 avatar Jan 06 '22 02:01 ashen001