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

The network is not good, the bot will try to restart after 60 seconds. #257

Closed
winniesi opened this issue Aug 29, 2021 · 3 comments
Closed
Labels
🐛 bug Something isn't working

Comments

@winniesi
Copy link

In the past few days, my python script (also the given dingdong.py script) has been unable to connect to the puppet docker server. Maybe from the latest update of puppet docker?

I checked https://api.chatie.io/v0/hosties/puppet_padlolocal_xxx, which shows there is no problem with my service.

The error message is as follows:

2021-08-29 12:41:18,497 - HostiePuppet - INFO - There is no endpoint in cache, trying to fetch endpoint with token.
2021-08-29 12:41:19,629 - HostiePuppet - INFO - starting the puppet ...
2021-08-29 12:41:19,798 - Wechaty - ERROR - The network is not good, the bot will try to restart after 60 seconds.
2021-08-29 12:42:19,858 - Wechaty - INFO - restarting the bot ...
2021-08-29 12:42:19,858 - Wechaty - INFO - wechaty is stoping ...
2021-08-29 12:42:19,858 - Wechaty - INFO - stopping - stop puppet

I tried countless times on many hosts, all with the same error. Don't know what the problem is.

Has anyone else encountered this problem recently?

@winniesi winniesi added the 🐛 bug Something isn't working label Aug 29, 2021
@winniesi winniesi changed the title 🐛🐛 Bug Report: title-of-your-problem 'he network is not good, the bot will try to restart after 60 seconds.' Aug 29, 2021
@winniesi winniesi changed the title 'he network is not good, the bot will try to restart after 60 seconds.' The network is not good, the bot will try to restart after 60 seconds. Aug 29, 2021
@xinyu3ru
Copy link

If you update your docker image in last few days, maybe it‘s this problem
wechaty/puppet-service#160

new docker image 0.68.1 needs TLS.

@winniesi
Copy link
Author

If you update your docker image in last few days, maybe it‘s this problem
wechaty/wechaty-puppet-service#160

new docker image 0.68.1 needs TLS.

Thank you, this solved my problem.
I temporarily switched docker version to 0.65.

@JoffreyN
Copy link

坑啊。。。。

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

3 participants