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

To-be-fixed: uncaughtException on Friday #118

Open
huan opened this issue May 9, 2022 · 0 comments
Open

To-be-fixed: uncaughtException on Friday #118

huan opened this issue May 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@huan
Copy link
Member

huan commented May 9, 2022

Version:

"wechaty": "^1.18.1",

After the uncaughtException, the Node.js program exited and will not be able to recover itself anymore:

18:28:40 VERB PuppetService roomMemberList(19594529030@chatroom)
18:28:40 VERB Room memberList()
18:28:40 VERB PuppetGitter roomMemberList(573324fcc43b8c60197242bf)
18:28:40 ERR GetGitterMembersCountHandler getGitterMemberIds() got 0 members
18:28:40 ERR GetWhatsAppMembersCountHandler getWhatsAppMemberIds() bot is not logged in yet
18:28:43 ERR Config ###########################
18:28:43 ERR Config Wechaty uncaughtException: Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client.ts:577:32)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
    at processTicksAndRejections (node:internal/process/task_queues:78:11) uncaughtException
18:28:43 ERR Config ###########################
finis Caught exception: Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client.ts:577:32)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
} Exception origin: uncaughtException
18:28:43 INFO RestartReporter finis(99, uncaughtException)
18:28:43 INFO RestartReporter finis() announce exiting
18:28:43 ERR Config ###########################
18:28:43 ERR Config Wechaty uncaughtException: Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client.ts:577:32)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
    at processTicksAndRejections (node:internal/process/task_queues:78:11) uncaughtException
18:28:43 ERR Config ###########################
finis Caught exception: Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client.ts:577:32)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
} Exception origin: uncaughtException
18:28:43 WARN RestartReporter finis(99, uncaughtException) called again when quiting... hard exit
finis: exit code: 1
18:28:43 WARN RestartReporter finis(1, exit) called again when quiting... hard exit
@huan huan added the bug Something isn't working label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant