puppet-supports icon indicating copy to clipboard operation
puppet-supports copied to clipboard

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

Open 120GGBoy opened this issue 1 year ago • 12 comments

getting-started-main项目

Question

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

120GGBoy avatar Aug 09 '24 10:08 120GGBoy

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

su-chang avatar Aug 11 '24 00:08 su-chang

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

120GGBoy avatar Aug 11 '24 08:08 120GGBoy

你用的是哪个方案?是否有对应的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 avatar Aug 11 '24 09:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 11:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 11:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 11:08 120GGBoy

微信图片_20240811194541 微信图片_20240811194618

120GGBoy avatar Aug 11 '24 11:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 11:08 120GGBoy

继续公布解决方案链接 https://github.com/wechaty/puppet-supports/issues/528

120GGBoy avatar Aug 11 '24 12:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 12:08 120GGBoy

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

120GGBoy avatar Aug 11 '24 12:08 120GGBoy

微信图片_20240811203328

120GGBoy avatar Aug 11 '24 12:08 120GGBoy