wechat-bot icon indicating copy to clipboard operation
wechat-bot copied to clipboard

扫码登陆后出现WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact()报错,登录不成功重新弹出二维码,还会导致微信被封号

Open sonansi opened this issue 1 year ago • 18 comments

Contact<Makina> has logged in Current time:Tue Jan 14 2025 11:11:09 GMT+0800 (中国标准时间) Automatic robot chat mode has been activated 11:11:13 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24) at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } 11:11:15 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24) at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } 11:11:17 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined 11:11:19 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24) at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (E:\wechat-bot\node_modules\wechat4u\lib\util\global.js:69:24)\n' + ' at E:\wechat-bot\node_modules\wechat4u\lib\core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } ❌ bot error handle: GError: 连续3次同步失败,5s后尝试重启 at E:\wechat-bot\node_modules\wechat4u\lib\wechat.js:129:22 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: 'Error: 连续3次同步失败,5s后尝试重启\n' + ' at E:\wechat-bot\node_modules\wechat4u\lib\wechat.js:129:22\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } 11:11:21 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined 11:11:23 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined Contact<Makina> has logged out 11:11:25 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined

sonansi avatar Jan 14 '25 03:01 sonansi

一样

JZDKG avatar Jan 14 '25 17:01 JZDKG

是小号吗?有没有实名制?

wangrongding avatar Jan 15 '25 00:01 wangrongding

封号+1

Yahuicai avatar Jan 15 '25 01:01 Yahuicai

是小号吗?有没有实名制?

https://github.com/wechaty/wechaty/issues/2773 问题好像出自这里

sonansi avatar Jan 15 '25 02:01 sonansi

用 npm 和 yarn 都是这样问题,刚开始还以为是依赖什么问题的,然后扫了好几下直接被警告了。。。。

zhi-lu avatar Jan 15 '25 06:01 zhi-lu

现在解决了吗

Lenyou233 avatar Jan 16 '25 11:01 Lenyou233

同样的问题,我三个微信号,封了两个,而且我还是用企业微信的token,付费的

JBAndroid avatar Jan 16 '25 16:01 JBAndroid

一样的,貌似无法解决,已经出现很多天了

martin-xie avatar Jan 17 '25 07:01 martin-xie

? 请先选择服务类型 (Use arrow keys) ❯ ChatGPT Kimi ? 请先选择服务类型 ChatGPT type: ChatGPT 🚀🚀🚀 / prompt hello 🚀🚀🚀 / reply Hello! How can I assist you today? 😊 🌸🌸🌸 / reply: Hello! How can I assist you today? 😊 Aron-Y@Mac-mini wechat-bot % npm run dev

[email protected] dev node ./cli.js Automatic robot chat mode has been activated ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24) at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24)\n' + ' at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24) at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24)\n' + ' at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } ❌ bot error handle: AssertionError [ERR_ASSERTION]: '1102' == 0 at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24) at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: "AssertionError [ERR_ASSERTION]: '1102' == 0\n" + ' at Object.equal (/Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/util/global.js:69:24)\n' + ' at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/core.js:410:24\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } ❌ bot error handle: GError: 连续3次同步失败,5s后尝试重启 at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/wechat.js:129:22 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 2, details: 'Error: 连续3次同步失败,5s后尝试重启\n' + ' at /Users/Aron-Y/wechat-bot/node_modules/wechat4u/lib/wechat.js:129:22\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)' } 也不是实名认证问题,就是会账号反复退出。

geegewu avatar Jan 19 '25 05:01 geegewu

解决了吗?

cjc-x avatar Jan 19 '25 15:01 cjc-x

解决了吗

xiaoyir avatar Jan 19 '25 17:01 xiaoyir

早就该弃了

fakers777 avatar Jan 20 '25 03:01 fakers777

解决了吗?

不建议使用,已经被提示微信提示使用外挂警告⚠️

geegewu avatar Jan 20 '25 03:01 geegewu

我今天也遇到这个情况了 完了

TuYv avatar Jan 23 '25 02:01 TuYv

试半天结果差点号没了

Mapauly avatar Feb 06 '25 07:02 Mapauly

还有其他能用的项目吗?

Miaosful avatar Feb 07 '25 07:02 Miaosful

大家都等一波吧,应该是用的人很多,最近微信查的好严格,其它同类型的库都存在这个问题 主要是底层的 wechaty 他们也不怎么维护了。。。

wangrongding avatar Feb 19 '25 06:02 wangrongding

目前 pad 协议正常些(需要自行去 wecahty 官方购买),免费的 web 协议会有问题(能登录,容易弹警告或者频繁使用被检测有封号的风险)

主要是 底层的 wechaty 不怎么维护了,他们好像被腾讯告了

wangrongding avatar Feb 20 '25 03:02 wangrongding