Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PadproManager Connection has problem, reset self to recover the connection. #196

Open
huan opened this issue Aug 29, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@huan
Copy link
Member

huan commented Aug 29, 2019

There must have some problem with the recover code for the connection lost.

My bot had been logout-ed and never come back again.

Related to: wechaty/wechaty#1810

18:07:37 VERB Room ready()
18:07:37 SILL Contact ready() @ Puppet#0<PuppetPadpro>(ding-dong-bot)/PuppetPadpro#0
18:07:37 SILL Contact ready() isReady() true
18:07:37 SILL Contact ready() @ Puppet#0<PuppetPadpro>(ding-dong-bot)/PuppetPadpro#0
18:07:37 SILL Contact ready() isReady() true
Message#Text[🗣Contact<尝尝鲜>@👥Room<资源整合(一群)>]     ◤每日更新🈲::🈲 天天晶采◥
🐉 ::::缓冲几秒🔺自动波放::::🐉
★出现白白🈲::♛:🈲 反复点击★
—————全民
Message discarded because it does not match ding/ping/bing/code
18:07:55 VERB Message static load(1094494695)
18:07:55 SILL Accessory #79209<Message> constructor()
18:07:55 VERB Message constructor(1094494695) for class Message
18:07:55 VERB Message ready()
18:07:55 VERB Puppet messagePayload(1094494695)
18:07:55 SILL Puppet messagePayloadCache(1094494695) cache MISS
18:07:55 SILL Puppet messagePayload(1094494695) cache SET
18:07:55 SILL Contact ready() @ Puppet#0<PuppetPadpro>(ding-dong-bot)/PuppetPadpro#0
18:07:55 SILL Contact ready() isReady() true
18:07:55 SILL Contact ready() @ Puppet#0<PuppetPadpro>(ding-dong-bot)/PuppetPadpro#0
18:07:55 SILL Contact ready() isReady() true
Message#Text[🗣Contact<Huan (李卓桓)>]   544424
Message discarded because it does not match ding/ping/bing/code
18:08:03 INFO PadproManager Connection has problem, reset self to recover the connection.
18:08:03 SILL Puppet constructor() this.on(reset) reason: undefined
18:08:03 SILL Puppet constructor() resetThrottleQueue.subscribe() reason: undefined
18:08:03 VERB Puppet reset(undefined)
18:08:03 SILL StateSwitch <PuppetPadpro> off() is false
18:08:03 SILL StateSwitch <PuppetPadpro> off() is false
18:08:03 SILL StateSwitch <PuppetPadpro> off() is false
18:08:03 VERB StateSwitch <PuppetPadpro> off(pending) <- (false)
18:08:03 SILL Contact ready() @ Puppet#0<PuppetPadpro>(ding-dong-bot)/PuppetPadpro#0
18:08:03 SILL Contact ready() isReady() true
18:08:03 VERB ContactSelf name()
李卓桓 logouted
18:08:03 INFO CacheManager release()
18:11:37 SILL Puppet constructor() watchdog.on(reset) reason: {"timeout":240000}
18:11:37 SILL Puppet constructor() this.on(reset) reason: {"timeout":240000}
18:11:37 SILL Puppet constructor() resetThrottleQueue.subscribe() reason: {"timeout":240000}
18:11:37 VERB Puppet reset({"timeout":240000})
18:11:37 SILL StateSwitch <PuppetPadpro> off() is pending
18:11:37 VERB Puppet reset({"timeout":240000}) state is off(), do nothing.
18:23:02 INFO WechatGateway initLongSocket() connection to wechat long host server: long.weixin.qq.com ended.
18:23:02 INFO WechatGateway initLongSocket() connection to wechat long host server: long.weixin.qq.com closed.
18:28:08 SILL Wechaty start() setInterval() this timer is to keep Wechaty running...
19:28:08 SILL Wechaty start() setInterval() this timer is to keep Wechaty running...
20:28:08 SILL Wechaty start() setInterval() this timer is to keep Wechaty running...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant