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

Unhandled promise rejection in socket client #26788

Closed
w33ble opened this issue Dec 6, 2018 · 1 comment · Fixed by #26870
Closed

Unhandled promise rejection in socket client #26788

w33ble opened this issue Dec 6, 2018 · 1 comment · Fixed by #26870
Assignees
Labels
bug Fixes for quality problems that affect the customer experience PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@w33ble
Copy link
Contributor

w33ble commented Dec 6, 2018

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:

  1. Load Canvas
  2. Restart the server
  3. See error in browser console once the server is up

Screenshots (if relevant):

screenshot 2018-12-06 16 27 40

@w33ble w33ble added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 6, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants