Closed ncushujian closed 2 months ago
https://token-service-discovery-test.juzibot.com/v0/hosties/TOKEN
通过这个访问下,看看是否能获取到对应的IP和PORT
https://token-service-discovery-test.juzibot.com/v0/hosties/TOKEN
通过这个访问下,看看是否能获取到对应的IP和PORT
我这边尝试了一下,访问返回的是 {"host":"0.0.0.0","ip":"0.0.0.0","port":0}
用 api.chatie.io 这个服务地址,是可以返回ip的
那说明你发现服务注册的地址就是 api.chatie.io,把那个环境变量去掉。
在启动服务之前已经配置环境变量 WECHATY_PUPPET_SERVICE_AUTHORITY=token-service-discovery-test.juzibot.com 了