Unhandled promise rejection in socket client #26788
Labels
bug
Fixes for quality problems that affect the customer experience
PR sent
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 6.6+
Browser version: Chrome latest
Describe the bug:
The socket is failing for the following error:
TypeError: Cannot read property 'emit' of null
It seems to happen when the socket connection dies and reconnects. The error is coming from kbn-interpreter.
I think it just needs to tear down the error listeners once the connect event happens.
Steps to reproduce:
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: