wechaty_puppet.exceptions.WechatyPuppetConfigurationError
Why i have connect problem either with token =python-wechaty-uos-token or my personal uuid with wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError("can't not ping endpoint: 140.206.157.242:8080", None, None)。 my docker service seems well and one day before i cound run it . it seems fetching endpoint from chatie-server: https://api.chatie.io/v0/hosties/python-wechaty-uos-token and then turns to {"host":"127.0.0.1","ip":"42.193.105.229","port":8080}
It seems that you use the free uos protocol to start your bot, but it's disabled by tencent now. you can refer to: https://github.com/wechaty/python-wechaty/issues/287 to get more details about this issue.
i found in the code there is a ping_endpoint function, that is why it failed. is it also because of the protocol?
ping_endpoint is to make sure that your service exists. As the shown error info, it can't ping 42.193.105.229 with port 8080 . To make it clear, you should:
- run command:
ping 42.193.105.229to make sure that your bot can connect to the server<42.193.105.229>. - if the above command works well, you should make sure that the port<
8080> is opened.
Hope that can help you fix the issue, please feel free to tell me more about your next bugs.
how to deal with this error