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

nodejs socket server using TCP/IP #218

Open
imebad opened this issue Sep 1, 2021 · 0 comments
Open

nodejs socket server using TCP/IP #218

imebad opened this issue Sep 1, 2021 · 0 comments

Comments

@imebad
Copy link

imebad commented Sep 1, 2021

I am trying to connect multiple Raspberry Pi devices (Python) to (Nodejs) server using TCP/IP Socket to communicate and transfer data to the server. But all the times Server is getting terminated in a while even on 4 connections. I need to connect around 100 or 1000 Pi devices, Is there any way out or suggestion for this?

Blow is the error that I am getting on server

      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:167:27)
Emitted 'error' event at:
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
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

1 participant