-
Notifications
You must be signed in to change notification settings - Fork 18
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
can"t fetch endpoint from chatie server #201
Comments
NOTE: on https://api.chatie.io/v0/hosties/81ca116a-5a78-4a24-8e1d-e9baa035b1b3: {"host":"0.0.0.0","ip":"0.0.0.0","port":0} |
If the above API return HTTP/404 or You need to check whether you have registered it successfully from the puppet service provider perspective. |
registered it successfully from the puppet service provider perspective : HOW? |
In order to make your situation to be clear so that others can help, please provide:
|
I am not sure what I have tried, all I want to know is how to get a token actually. |
You can learn about how to get a Wechaty Puppet Service (WPS) TOKEN from our official website at https://wechaty.js.org/docs/puppet-services/ |
[INFO][2023-06-02 01:10:51][finish.py:23] - [Finish] inited 我有同样的问题 (D:\00_dev\anaconda\env\py310) PS D:\00_dev\git\chatgpt-on-wechat> curl https://api.chatie.io/v0/hosties/5a8a7644-395XXXXXXX2b17d5dcf14 StatusCode : 200 但是用CURL可以正常取到地址 |
在客端上设置了endpoint后解决了 |
can"t fetch endpoint from chatie server
2022-04-16 14:23:44,858 - Wechaty - INFO - on() listen event with <<function on_scan at 0x1031105e0>>
2022-04-16 14:23:44,858 - Wechaty - INFO - on() listen event with <<function on_login at 0x10459c280>>
2022-04-16 14:23:44,858 - Wechaty - INFO - on() listen event with <<function on_message at 0x1028c0c10>>
2022-04-16 14:23:44,883 - Wechaty - INFO - init_puppet_event_bridge() <<wechaty_puppet_service.puppet.PuppetService object at 0x10459bfa0>>
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(dong) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(error) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(heart-beat) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(ready) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - receive event <%s>
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(reset) (listenerCount:0) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(friendship) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(login) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(logout) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(message) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(room-invite) (listenerCount:1) registering...
2022-04-16 14:23:44,883 - Wechaty - INFO - initPuppetEventBridge() puppet.on(room-join) (listenerCount:1) registering...
2022-04-16 14:23:44,884 - Wechaty - INFO - initPuppetEventBridge() puppet.on(room-leave) (listenerCount:1) registering...
2022-04-16 14:23:44,884 - Wechaty - INFO - initPuppetEventBridge() puppet.on(room-topic) (listenerCount:1) registering...
2022-04-16 14:23:44,884 - Wechaty - INFO - initPuppetEventBridge() puppet.on(scan) (listenerCount:1) registering...
2022-04-16 14:23:44,884 - Wechaty - INFO - starting puppet ...
2022-04-16 14:23:44,884 - PuppetService - INFO - init puppet ...
2022-04-16 14:23:44,884 - PuppetService - INFO - fetching endpoint from chatie-server: https://api.chatie.io/v0/hosties/81ca116a-5a78-4a24-8e1d-e9baa035b1b3
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/wechaty/wechaty.py", line 395, in start
await self.puppet.start()
File "/usr/local/lib/python3.9/site-packages/wechaty_puppet_service/puppet.py", line 919, in start
self._init_puppet()
File "/usr/local/lib/python3.9/site-packages/wechaty_puppet_service/puppet.py", line 884, in _init_puppet
raise WechatyPuppetGrpcError(
wechaty_puppet.exceptions.WechatyPuppetGrpcError: WechatyPuppetGrpcError('can"t fetch endpoint from chatie server. You can try it later, or make sure that your pc can connect to heroku server ', None, None)
[Python Wechaty] Ding Dong Bot started.
hfdeMacBook-Pro:python-wechaty-getting-started luchang$
The text was updated successfully, but these errors were encountered: