invisibleroads / invisibleroads/socketIO-client

nodejs socket server using TCP/IP

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
441
Forks
204
PR merge metrics
No merged PRs in 30d

Description

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

```events.js:170
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! tcp-nodejs-app@1.0.0 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tcp-nodejs-app@1.0.0 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:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.