Open iguxiaobei opened 4 years ago
Analyze the Log
It seems grpc listen on some bad JSON data from padplus-server
, and can not parse this data successfully.
When the bot miss padplus-server
heartbeat, it will try to reconnect by padplus
, but it seems that the bot lost connect with padplus-server
.
In the end, wechaty
watch dog timeout, and reset itself, so we could listen on logout
event in wechaty
.
Conclusion We have to keep watching on this issue, if we can not reproduce it.
0. Report Issue Guide
1. Versions
What is your wechaty version? Answer: wechaty@0.43.5
What is your wechaty-puppet-padplus version? Answer: wechaty-puppet-padplus@0.7.27
What is your node version? (run
node --version
) Answer: v10.15.0What os are you using Answer: Linux
2. Describe the bug
突发性出现
can not parse json data from grpc server.
,最后,以【logout in wechaty】
退出登录3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
4. Expected behavior
没有异常或出现异常能自动重连来修复问题
5. Actual behavior
以【logout in wechaty】退出登录
6. Full Output Logs
7. Additional context
Add any other context about the problem here.
[bug]