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

WXWORK: WARN ResolverWechaty updateResolution() address not found target xxx: token does not exist #544

Open
120GGBoy opened this issue Aug 9, 2024 · 12 comments
Assignees
Labels
wxwork Wechaty Puppet WXWork

Comments

@120GGBoy
Copy link

120GGBoy commented Aug 9, 2024

getting-started-main项目

Question

将申请的试用token放到token配置中,依旧提示token not exists
看token状态是离线的,有配置环境变量

@120GGBoy 120GGBoy added the wxwork Wechaty Puppet WXWork label Aug 9, 2024
@su-chang
Copy link
Member

你用的是哪个方案?是否有对应的token呢?

@120GGBoy
Copy link
Author

你用的是哪个方案?是否有对应的token呢?
Uploading 678895D9-72F6-4cb2-908F-7DB71E62E162.png…
puppet_workpro_8fff78f28b9b4b1f9e2e3d6da30b88c8

@120GGBoy
Copy link
Author

你用的是哪个方案?是否有对应的token呢?

看帮忙看看,我用的是github的getting-started-main的examples的ding-dong-bot.ts,改了配置:
puppet: 'wechaty-puppet-service',
puppetOptions: {
token: 'puppet_workpro_8fff78f28b9b4b1f9e2e3d6da30b88c8',
},
用户环境变量和系统环境变量也配置了WECHATY_PUPPET_SERVICE_AUTHORITY=token-service-discovery-test.juzibot.com

@120GGBoy 120GGBoy changed the title WXWork: WARN ResolverWechaty updateResolution() address not found target xxx: token does not exist workpro: WARN ResolverWechaty updateResolution() address not found target xxx: token does not exist Aug 11, 2024
@120GGBoy 120GGBoy changed the title workpro: WARN ResolverWechaty updateResolution() address not found target xxx: token does not exist WXWORK: WARN ResolverWechaty updateResolution() address not found target xxx: token does not exist Aug 11, 2024
@120GGBoy
Copy link
Author

19:07:16 WARN ResolverWechaty updateResolution() address not found target wechaty://api.chatie.io/puppet_workpro_8fff78f28b9b4b1f9e2e3d6da30b88c8: token does not exist

1 similar comment
@120GGBoy
Copy link
Author

19:07:16 WARN ResolverWechaty updateResolution() address not found target wechaty://api.chatie.io/puppet_workpro_8fff78f28b9b4b1f9e2e3d6da30b88c8: token does not exist

@120GGBoy
Copy link
Author

是不是我环境变量配错了呢,我是到电脑的控制面板那里配的,项目文件的话package.json和settings.json我也配了好像没用
微信图片_20240811194431

@120GGBoy
Copy link
Author

微信图片_20240811194541
微信图片_20240811194618

@120GGBoy
Copy link
Author

好像解决了,不报之前的错了,报新错了
微信图片_20240811195221

@120GGBoy
Copy link
Author

继续公布解决方案链接
#528

@120GGBoy
Copy link
Author

最后的No Connect exxxxx啥的报错参考这个解决了
wechaty/puppet-service#160
配置了环境变量,关闭终端后重新npm start 成功
微信图片_20240811203159

@120GGBoy
Copy link
Author

这个记得配,解决比较早的接收信息就报错的问题

@120GGBoy
Copy link
Author

微信图片_20240811203328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wxwork Wechaty Puppet WXWork
Projects
None yet
Development

No branches or pull requests

3 participants