Open suntong opened 3 years ago
I understand that the problem might not be fixable in a short while, but please try to
so that we don't need to bother already-busy human beings to disconnected.
Thanks
I cannot do anything to reset it myself, I even tried 网页微信, but got this instead:
So I think this is more a logic loophole on the donut side, which somehow locked me in, as otherwise 网页微信 would work.
0. Report Issue Guide
No,
No,
No,
1. Versions
What is your wechaty version? Answer:
wechaty@0.59.8
What is your wechaty-puppet-donut version? Answer:
wechaty-puppet-service@0.19.4 wechaty-grpc@0.23.12
What is your node version? (run
node --version
) Answer:v10.20.0
What os are you using Answer:
2. Describe the bug
3. To Reproduce
Steps to reproduce the behavior:
node examples/ding-dong-bot.js
from the officialwechaty-getting-started
4. Expected behavior
Login will stay.
5. Actual behavior
automatically logged out 15~20 seconds after successful normal login
6. Full Output Logs
Set env
WECHATY_LOG=silly
in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)We need full log instead of log screenshot or log fragments!
Show Logs
```shell $ WECHATY_LOG=silly node examples/ding-dong-bot.js 00:02:52 SILL Puppet Config: WECHATY_LOG set level to silly 00:02:52 VERB Wechaty7. Additional context
Two cases logged above
My preliminary guessing is that after WX see that the
onGrpcStreamEvent({type:EVENT_TYPE_HEARTBEAT(1)
heartbeat got atimeout
, it logs user out from server side.[bug]