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

[BUG]WorkPro:为什么启动服务的时候,报我的 token does not exist #509

Closed
ncushujian opened this issue Jul 4, 2024 · 4 comments
Assignees
Labels
workpro Wechaty Puppet Service WorkPro

Comments

@ncushujian
Copy link

在启动服务之前已经配置环境变量 WECHATY_PUPPET_SERVICE_AUTHORITY=token-service-discovery-test.juzibot.com 了

@ncushujian ncushujian added the workpro Wechaty Puppet Service WorkPro label Jul 4, 2024
@su-chang
Copy link
Member

su-chang commented Jul 4, 2024

https://token-service-discovery-test.juzibot.com/v0/hosties/TOKEN

通过这个访问下,看看是否能获取到对应的IP和PORT

@ncushujian
Copy link
Author

https://token-service-discovery-test.juzibot.com/v0/hosties/TOKEN

通过这个访问下,看看是否能获取到对应的IP和PORT

我这边尝试了一下,访问返回的是 {"host":"0.0.0.0","ip":"0.0.0.0","port":0}

@ncushujian
Copy link
Author

用 api.chatie.io 这个服务地址,是可以返回ip的

@hcfw007
Copy link
Member

hcfw007 commented Jul 5, 2024

那说明你发现服务注册的地址就是 api.chatie.io,把那个环境变量去掉。

@hcfw007 hcfw007 closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workpro Wechaty Puppet Service WorkPro
Projects
None yet
Development

No branches or pull requests

3 participants