puppet-service
puppet-service copied to clipboard
Io disconnected and can not recover from it
Here is the log:
23:48:56 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
23:49:16 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
23:49:28 WARN Io initWebSocket() close event[1006: ]
23:49:28 VERB Io reconnect()
23:49:28 WARN Io reconnect() will reconnect after 0 s
23:49:28 VERB Io initWebSocket()
23:49:36 VERB Io send() without a connected websocket, eventBuffer.length = 1
23:49:36 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
23:49:56 VERB Io send() without a connected websocket, eventBuffer.length = 2
23:49:56 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
23:50:16 VERB Io send() without a connected websocket, eventBuffer.length = 3
23:50:16 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
23:50:36 VERB Io send() without a connected websocket, eventBuffer.length = 4
23:50:36 VERB EventStreamManager grpcEmit(EVENT_TYPE_HEARTBEAT[1], {"data":"[object Object]"})
Seems like when the Io get disconnected, the connection won't be recovered, and the eventBuffer keep growing.
Thanks for reporting this issue.
This is known and our oss chat bot is experiencing this problem everyday.
Will investigate it in the following weeks.
Thanks for such fast reply.
I've looked into the code and found that after the initWebSocket() function call, there is no open event triggered, seems pretty weird, maybe this is where we can start the investigation.
Hi @huan how's this issue going?
I have not got time to look into it yet.
If we can have a minimum reproducible code, then I believe it will be very easy to be fixed.