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 'error' event #131

Closed
ToniNgethe opened this issue Jun 27, 2019 · 2 comments
Closed

Unhandled 'error' event #131

ToniNgethe opened this issue Jun 27, 2019 · 2 comments

Comments

@ToniNgethe
Copy link

I keep getting this error whenever i use binaryjs together with sockets.io in nodejs using the express server

events.js:174
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
`

My connection to binaryjs is

const bs = new BinaryServer({ server: server, path: '/binary' });

@Cabezas2020
Copy link

Hello, were you able to fix this issue?

@tinawng
Copy link

tinawng commented Mar 4, 2021

Fix posted here:
binaryjs/streamws#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants