{"action":"opened","issue":{"url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro/issues/12","repository_url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro","labels_url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro/issues/12/comments","events_url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro/issues/12/events","html_url":"https://github.com/botorange/wechaty-puppet-padpro/issues/12","id":387631802,"node_id":"MDU6SXNzdWUzODc2MzE4MDI=","number":12,"title":"Stuck when heartbeat call failed","user":{"login":"windmemory","id":6801292,"node_id":"MDQ6VXNlcjY4MDEyOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6801292?v=4","gravatar_id":"","url":"https://api.github.com/users/windmemory","html_url":"https://github.com/windmemory","followers_url":"https://api.github.com/users/windmemory/followers","following_url":"https://api.github.com/users/windmemory/following{/other_user}","gists_url":"https://api.github.com/users/windmemory/gists{/gist_id}","starred_url":"https://api.github.com/users/windmemory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windmemory/subscriptions","organizations_url":"https://api.github.com/users/windmemory/orgs","repos_url":"https://api.github.com/users/windmemory/repos","events_url":"https://api.github.com/users/windmemory/events{/privacy}","received_events_url":"https://api.github.com/users/windmemory/received_events","type":"User","site_admin":false},"labels":[{"id":1090465506,"node_id":"MDU6TGFiZWwxMDkwNDY1NTA2","url":"https://api.github.com/repos/botorange/wechaty-puppet-padpro/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T07:48:10Z","updated_at":"2018-12-05T07:48:10Z","closed_at":null,"author_association":"MEMBER","body":"```shell\r\n15:46:08 SILL DedupeApi dedupe() no need to dedupe api GrpcHeartBeat.\r\n15:46:08 SILL PadproManager debounceQueue heartbeat result: {}\r\n15:46:09 ERR WechatGateway Error happened when call api: GrpcHeartBeat, params: undefined\r\n{ Error: 14 UNAVAILABLE: Connect Failed\r\n    at Object.exports.createStatusError (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/node_modules/grpc/src/common.js:87:15)\r\n    at Object.onReceiveStatus (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/node_modules/grpc/src/client_interceptors.js:1188:28)\r\n    at InterceptingListener._callNext (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/node_modules/grpc/src/client_interceptors.js:564:42)\r\n    at InterceptingListener.onReceiveStatus (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/node_modules/grpc/src/client_interceptors.js:614:8)\r\n    at callback (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/node_modules/grpc/src/client_interceptors.js:841:24)\r\n  code: 14,\r\n  metadata: Metadata { _internal_repr: {} },\r\n  details: 'Connect Failed' }\r\n(node:90569) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '3' of null\r\n    at PadproManager.<anonymous> (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/src/manager/padpro-grpc.ts:77:17)\r\n    at Generator.next (<anonymous>)\r\n    at fulfilled (/Users/yuangao/git/wechaty/wechaty-puppet-padpro/dist/src/manager/padpro-grpc.js:4:58)\r\n(node:90569) 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(). (rejection id: 1)\r\n(node:90569) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n```"}}
{"actor":{"display_login":"windmemory"}}