wechaty / puppet-padlocal

Puppet PadLocal is a Pad Protocol for WeChat
https://wechaty.js.org/docs/puppet-providers/padlocal
Apache License 2.0
629 stars 88 forks source link

Wechaty Padlocal request io error after logged in 2-3 days #195

Open Hamlet626 opened 2 years ago

Hamlet626 commented 2 years ago

After logged in for 2-3 days, operations like sending messages in room, logging out gets error below; findAll() rooms doesn't fetch newest room list.

Sending messages, logout error: ERR Config Wechaty unhandledRejection: VError: [tid:43769095] request has been cancelled for reason: SERVERERROR: 2 UNKNOWN: [tid:43769095] wechat request io error ![51662485796 pic_hd](https://user-images.githubusercontent.com/26908521/188707301-993806f4-2497-4605-9cf7-c1ba7f4da4ce.jpg)

on pad-local.com it shows logged off as below, while on WeChat it shows logged in on another device.

Screen Shot 2022-09-06 at 1 39 55 PM

Any idea on how it's caused or solutions? Thanks in advance!

Hamlet626 commented 2 years ago

I am using "wechaty": "^1.19.10", "wechaty-puppet-padlocal": "^1.20.1", "wechaty-puppet": "^1.19.6",

Plus, sending messages and others work fine in first 2-3 days after WeChat log in. It just happens after 2-3 days, and I have to rerun that program since I couldn't just logout WeChat. related to https://github.com/wechaty/wechaty/issues/2442