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

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

Open
sonansi opened this issue Jan 14, 2025 · 16 comments

Comments

@sonansi
Copy link

sonansi commented Jan 14, 2025

Contact 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 has logged out
11:11:25 WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact() exception: undefined

@sonansi sonansi changed the title 扫码登陆后出现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)' }报错,登录不成功重新弹出二维码,还会导致微信被封号 扫码登陆后出现WARN PuppetWechat4u contactRawPayload(AssertionError [ERR_ASSERTION]: 1101 == 0) wechat4u.batchGetContact()报错,登录不成功重新弹出二维码,还会导致微信被封号 Jan 14, 2025
@JZDKG
Copy link

JZDKG commented Jan 14, 2025

一样

@wangrongding
Copy link
Owner

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

@Yahuicai
Copy link

封号+1

@sonansi
Copy link
Author

sonansi commented Jan 15, 2025

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

wechaty/wechaty#2773
问题好像出自这里

@zhi-lu
Copy link

zhi-lu commented Jan 15, 2025

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

@Lenyou233
Copy link

现在解决了吗

@JBAndroid
Copy link

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

@martin-xie
Copy link

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

@geegewu
Copy link

geegewu commented Jan 19, 2025

? 请先选择服务类型 (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)'
}
也不是实名认证问题,就是会账号反复退出。

@chenjunchang
Copy link

解决了吗?

@xiaoyir
Copy link

xiaoyir commented Jan 19, 2025

解决了吗

@fakers777
Copy link

早就该弃了

@geegewu
Copy link

geegewu commented Jan 20, 2025

解决了吗?

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

@TuYv
Copy link

TuYv commented Jan 23, 2025

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

@Mapauly
Copy link

Mapauly commented Feb 6, 2025

试半天结果差点号没了

@Miaosful
Copy link

Miaosful commented Feb 7, 2025

还有其他能用的项目吗?

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

No branches or pull requests