wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.62k stars 234 forks source link

[Bug]: 无法启动:can"t fetch endpoint from chatie server #418

Open zhang-prog opened 9 months ago

zhang-prog commented 9 months ago

Environment

wechaty                 0.10.7
wechaty-grpc            0.20.19
wechaty-puppet          0.4.23
wechaty-puppet-service  0.8.10

- token type: paimon
- the version of wechaty docker container: [0.65]

Description

已经使用一年了,突然有一天启动时报错,目前已经一周链接不上了,主要的报错信息如下

.......
2023-12-12 12:50:02,966 - Wechaty - INFO - starting puppet ...
2023-12-12 12:50:02,966 - PuppetService - INFO - init puppet ...
2023-12-12 12:50:02,966 - PuppetService - INFO - fetching endpoint from chatie-server: https://api.chatie.io/v0/hosties/puppet_paimon_xxxxx-xxxx-xxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/home/grdata/miniconda3/envs/grdata/lib/python3.7/site-packages/wechaty/wechaty.py", line 445, in start
    await self.puppet.start()
  File "/home/grdata/miniconda3/envs/grdata/lib/python3.7/site-packages/wechaty_puppet_service/puppet.py", line 911, in start
    self._init_puppet()
  File "/home/grdata/miniconda3/envs/grdata/lib/python3.7/site-packages/wechaty_puppet_service/puppet.py", line 877, in _init_puppet
    'can"t fetch endpoint from chatie server. '
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)

Minimum reproducible code

async def main(): bot = MyBot() await bot.start()

ropz12138 commented 2 months ago

有解决办法了吗,我也遇到这个问题了

Tommy-pixels commented 2 months ago

有解决办法了吗,我也遇到这个问题了

同问,宝子解决了嘛