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

[PadLocalClient] error while syncing onpush: VError: [tid:0c1541a7] #170

Closed
9cat opened this issue May 29, 2022 · 3 comments
Closed

[PadLocalClient] error while syncing onpush: VError: [tid:0c1541a7] #170

9cat opened this issue May 29, 2022 · 3 comments

Comments

@9cat
Copy link

9cat commented May 29, 2022

After successfully Scanned->Confirmed->Login,

06:15:31 ERR [PadLocalClient] error while syncing onpush: VError: [tid:0c1541a7] request has been cancelled for reason: CLIENT_ERROR: [tid:0c1541a7] Exception while handling wechat request: longlink reset
at Request._failAllPendingRequest (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:334:15)
at Request.error (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:347:10)
at Request. (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:221:16)
at Generator.throw ()
at rejected (/root/projects/wechat-messager/node_modules/padlocal-client-ts/dist/Request.js:6:65)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
06:15:34 INFO [PuppetPadlocal] start login with type: AutoLogin
06:15:40 INFO [PuppetPadlocal] start login with type: QrLogin

@9cat
Copy link
Author

9cat commented May 29, 2022

(node:1915) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setMessage' of undefined
at PuppetPadlocal._onSendMessage (/root/projects/wechat-messager/node_modules/wechaty-puppet-padlocal/src/puppet-padlocal.ts:1524:27)
at PuppetPadlocal.messageSendText (/root/projects/wechat-messager/node_modules/wechaty-puppet-padlocal/src/puppet-padlocal.ts:1004:16)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at WechatifiedContact.say (/root/projects/wechat-messager/node_modules/wechaty/src/user/contact.ts:417:15)
(node:1915) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 21)

@9cat
Copy link
Author

9cat commented May 31, 2022

upgrade to nodejs 16+ , solved.

@9cat 9cat closed this as completed May 31, 2022
@286163345
Copy link

ERR [PadLocalClient] error while syncing onpush: VError: [tid:80177861] request has been cancelled for reason: CLIENT_ERROR: [tid:80177861] Exception while handling wechat request: longlink reset
at Request._failAllPendingRequest (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:334:15)
at Request.error (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:347:10)
at Request. (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:221:16)
at Generator.throw ()
at rejected (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/dist/Request.js:6:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
^C06:38:10 WARN [PuppetPadlocal] stop() is called on a OFF puppet. await ready(off) and return.

node16. But he can't seem to.
i try --unhandled-rejections

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

2 participants