wechaty / getting-started

A Starter Project Template for Wechaty works out-of-the-box
https://gitpod.io/#https://github.com/wechaty/wechaty-getting-started
Apache License 2.0
806 stars 352 forks source link

wechaty登录报错 #271

Open linghaohuang opened 2 years ago

linghaohuang commented 2 years ago

1. Versions

2. Describe the bug

在微信扫码登录后报错,可能由于微信网页版停用

3. To Reproduce

具体步骤按照:https://wechaty.js.org/docs/examples/basic/contact-bot

5. Actual behavior

图片1

6. Full Output Logs

a.txt

huan commented 2 years ago

If your WeChat account does not support the web protocol, you can use a Puppet Service like https://wechaty.js.org/docs/puppet-services/padlocal

helloint commented 2 years ago

If your WeChat account does not support the web protocol, you can use a Puppet Service like https://wechaty.js.org/docs/puppet-services/padlocal

Looks like wechat disabled all new account to use web protocol padlocal is not free. Is there a free solution?

helloint commented 2 years ago

I resolved the issue. This topic helps https://wechaty.js.org/2022/07/26/free-uos-ui/, it is just to add this option:

  puppetOptions: {
    uos: true  // 开启uos协议
  },

But wechat has one additional limitiation when I proceed, it requested me to activate the wechat payment of this account.