wechaty / friday

Friday is an Assistant BOT Built on Wechaty for Serving our Community
http://friday.chatie.io:5200
Apache License 2.0
83 stars 20 forks source link

Wechaty v0.77: lost connection with docker pupet server #104

Open huan opened 3 years ago

huan commented 3 years ago
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
11:04:27 WARN Io initWebSocket() close event[1006: ]
11:04:27 VERB Io reconnect()
11:04:27 WARN Io reconnect() will reconnect after 0 s
11:04:27 VERB Io initWebSocket()
11:04:27 VERB Io initWebSocket() connected with protocol [io|0.0.1|b29c9136-28d4-4231-a914-1b3be057fb59||18788]
metrics { mo: 0, mt: 0 }
11:04:31 VERB PuppetService bridgeGrpcEventStream() eventStream.on(error) Error: 14 UNAVAILABLE: read ETIMEDOUT
11:04:31 ERR PuppetService ding() rejection: Error: 14 UNAVAILABLE: read ETIMEDOUT
11:04:31 ERR Puppet start() rejection: 14 UNAVAILABLE: read ETIMEDOUT
11:04:31 VERB StateSwitch <PuppetState> off(true) <- (pending)
11:04:31 VERB Room findAll() rejected: 14 UNAVAILABLE: read ETIMEDOUT
Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
} 
11:04:31 VERB Room findAll() rejected: 14 UNAVAILABLE: read ETIMEDOUT
Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
11:04:31 VERB Room findAll() rejected: 14 UNAVAILABLE: read ETIMEDOUT
Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
11:04:31 WARN PuppetStateMixin reset() rejection: Error: 14 UNAVAILABLE: read ETIMEDOUT
11:04:31 VERB PuppetError from("{"code":14,"details":"read ETIMEDOUT","metadata":{}}")
11:04:31 VERB PuppetError constructor("{"code":14,"details":"read ETIMEDOUT","metadata":{}}")
11:04:31 ERR on-error onError(Error: {"code":2,"details":["Error","Error: 14 UNAVAILABLE: read ETIMEDOUT","    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)","    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78","    at processTicksAndRejections (node:internal/process/task_queues:78:11)"],"message":"14 UNAVAILABLE: read ETIMEDOUT","name":"Error","stack":"Error: 14 UNAVAILABLE: read ETIMEDOUT\n    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)\n    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78\n    at processTicksAndRejections (node:internal/process/task_queues:78:11)"})
Error: {"code":2,"details":["Error","Error: 14 UNAVAILABLE: read ETIMEDOUT","    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)","    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78","    at processTicksAndRejections (node:internal/process/task_queues:78:11)"],"message":"14 UNAVAILABLE: read ETIMEDOUT","name":"Error","stack":"Error: 14 UNAVAILABLE: read ETIMEDOUT\n    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)\n    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78\n    at processTicksAndRejections (node:internal/process/task_queues:78:11)"}
    at PuppetService.<anonymous> (file:///home/friday/git/friday/node_modules/wechaty/dist/esm/src/wechaty.js:299:44)
    at PuppetService.emit (node:events:390:28)
    at PuppetService.reset (file:///home/friday/git/friday/node_modules/wechaty-puppet/dist/esm/src/mixins/state-mixin.js:61:22)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: {"code":2,"details":["Error","Error: 14 UNAVAILABLE: read ETIMEDOUT","    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)","    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78","    at processTicksAndRejections (node:internal/process/task_queues:78:11)"],"message":"14 UNAVAILABLE: read ETIMEDOUT","name":"Error","stack":"Error: 14 UNAVAILABLE: read ETIMEDOUT\n    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)\n    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78\n    at processTicksAndRejections (node:internal/process/task_queues:78:11)"}
    at PuppetService.<anonymous> (file:///home/friday/git/friday/node_modules/wechaty/dist/esm/src/wechaty.js:299:44)
    at PuppetService.emit (node:events:390:28)
    at PuppetService.reset (file:///home/friday/git/friday/node_modules/wechaty-puppet/dist/esm/src/mixins/state-mixin.js:61:22)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
11:04:31 INFO WechatyPluginContrib EventLogger error: Error: {"code":2,"details":["Error","Error: 14 UNAVAILABLE: read ETIMEDOUT","    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)","    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)","    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78","    at processTicksAndRejections (node:internal/process/task_queues:78:11)"],"message":"14 UNAVAILABLE: read ETIMEDOUT","name":"Error","stack":"Error: 14 UNAVAILABLE: read ETIMEDOUT\n    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)\n    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)\n    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78\n    at processTicksAndRejections (node:internal/process/task_queues:78:11)"}
11:04:31 VERB PuppetStateMixin reset() done
11:04:31 VERB StateSwitch <PuppetBusyIndicator> off(true) <- (false)
11:04:31 ERR Friday status-page count-room-member countRoomMembers(): friday.Room return 0 members
11:04:31 VERB Room memberList()
11:04:31 VERB PuppetGitter roomMemberList(573324fcc43b8c60197242bf)
11:04:31 ERR Friday status-page count-room-member countRoomMembers(): friday.Room return 0 members
11:04:31 VERB Room memberList()
11:04:31 VERB PuppetGitter roomMemberList(573324fcc43b8c60197242bf)
11:04:31 ERR Friday status-page count-room-member countRoomMembers(): friday.Room return 0 members
11:04:31 VERB Room memberList()
11:04:31 VERB PuppetGitter roomMemberList(573324fcc43b8c60197242bf)
11:04:32 VERB status-page/updater startUpdater/setInterval membersNumber: 0
11:04:32 VERB status-page/updater startUpdater/setInterval membersNumber: 0
11:04:32 VERB status-page/updater startUpdater/setInterval membersNumber: 0
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
...
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
11:06:17 VERB status-page/updater startUpdater/setInterval mo/mt: 0/0
11:06:17 VERB Room findAll({"topic":{}})
11:06:17 VERB PuppetRoomMixin roomSearch({"topic":{}})
11:06:17 VERB PuppetService roomList()
11:06:17 VERB Room findAll() rejected: 13 INTERNAL: Failed to start HTTP/2 stream with error: The session has been destroyed
Error: 13 INTERNAL: Failed to start HTTP/2 stream with error: The session has been destroyed
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 13,
  details: 'Failed to start HTTP/2 stream with error: The session has been destroyed',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
11:06:17 ERR Friday status-page count-room-member countRoomMembers(): friday.Room return 0 members
11:06:17 VERB Room memberList()
11:06:17 VERB PuppetGitter roomMemberList(573324fcc43b8c60197242bf)
11:06:18 VERB status-page/updater startUpdater/setInterval membersNumber: 0
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
...
metrics { mo: 0, mt: 0 }
metrics { mo: 0, mt: 0 }
11:32:02 VERB Room findAll() rejected: 14 UNAVAILABLE: read ETIMEDOUT
Error: 14 UNAVAILABLE: read ETIMEDOUT
    at Object.callErrorFromStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/friday/git/friday/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  code: 14,
  details: 'read ETIMEDOUT',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}