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

Uncaught Error: xhr poll error #577

Open
Somebi opened this issue Aug 7, 2017 · 2 comments
Open

Uncaught Error: xhr poll error #577

Somebi opened this issue Aug 7, 2017 · 2 comments
Labels
bug Something isn't working

Comments

@Somebi
Copy link

Somebi commented Aug 7, 2017

Unhandled error, error event listener is applied on our side.
This happens time to time, due to quick server shutdown and start tests. Seems like something with polling connection establishing.

     Uncaught Error: xhr poll error
      at XHR.Transport.onError (/home/beck/optibet/src/github.com/LiflandGaming/ws-service/node_modules/engine.io-client/lib/transport.js:64:13)
      at Request.<anonymous> (/home/beck/optibet/src/github.com/LiflandGaming/ws-service/node_modules/engine.io-client/lib/transports/polling-xhr.js:128:10)
      at Request.Emitter.emit (/home/beck/optibet/src/github.com/LiflandGaming/ws-service/node_modules/component-emitter/index.js:133:20)
      at Request.onError (/home/beck/optibet/src/github.com/LiflandGaming/ws-service/node_modules/engine.io-client/lib/transports/polling-xhr.js:310:8)
      at Timeout._onTimeout (/home/beck/optibet/src/github.com/LiflandGaming/ws-service/node_modules/engine.io-client/lib/transports/polling-xhr.js:257:18)
      at ontimeout (timers.js:488:11)
      at tryOnTimeout (timers.js:323:5)
      at Timer.listOnTimeout (timers.js:283:5)

@Somebi
Copy link
Author

Somebi commented Aug 7, 2017

Seems like closing/disconnecting client gracefully before closing the server helped in my case, but this is still a bug, not sure why Error is counted as unhandled. Don't have time to figure that out.

But the issue is that client is not handling this properly.

@adonespitogo
Copy link

+1

@darrachequesne darrachequesne added the bug Something isn't working label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants