wechaty / wechaty-puppet-padchat

Padchat Puppet for Wechaty
https://www.npmjs.com/package/wechaty-puppet-padchat
Apache License 2.0
282 stars 46 forks source link

disconnected when accept room invitation #116

Open windmemory opened 6 years ago

windmemory commented 6 years ago

Currently this is a known bug that when calling accept on room-invitation, it will sometimes disconnected from the websocket and reconnected. Logs below:

13:06:17 WARN PuppetPadchat startManager() manager.on(reset) for 掉线了. Restarting PuppetPadchat ... 
13:06:17 SILL Contact ready() @ Puppet#0<PuppetPadchat>(test)/PuppetPadchat#0
13:06:17 SILL Contact ready() isReady() true

13:06:17 ERR Config ###########################
13:06:17 ERR Config unhandledRejection: Error: FORWARDED: Accept invitation failed, this is a forwarded invitation, can not be accepted [object Promise]
13:06:17 ERR Config ###########################
13:06:17 ERR Config process.on(unhandledRejection) promise.catch(FORWARDED: Accept invitation failed, this is a forwarded invitation, can not be accepted)
lijiarui commented 6 years ago

ping @windmemory