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

Using ping will cause to raise an exception, but message missing #60

Closed
yangruihan opened this issue Aug 3, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@yangruihan
Copy link
Contributor

Hi, wechaty is awesome! Thanks for everything.

I got Wechaty - ERROR - The network is not good, the bot will try to restart after 60 seconds., when I start my custom boy with config WECHATY_PUPPET_SERVICE_ENDPOINT=127.0.0.1:xxxx.

I found this code cause it:

if ping(self.options.end_point) is False:
raise WechatyPuppetConfigurationError(
f"can't not ping endpoint: {self.options.end_point}"
)

ping('127.0.0.1') will raise an exception "permission denied", but exception message missing, It's not friendly.

ping3 pointer that should run as root.

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Aug 4, 2021

This problem has been fixed in #59 , so we should close it.

@wj-Mcat wj-Mcat closed this as completed Aug 4, 2021
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

2 participants