lsongdev / lsongdev/node-irc

events.js:167 - throw er; // Unhandled 'error' event

Open
#1 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
34
Forks
11
PR merge metrics
No merged PRs in 30d

Description

This is what I get when a client tries to connect (on server of course):

[nodemon] starting node app.js`
Server Listening on 6667
events.js:167
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at TCP.onread (net.js:656:25)
Emitted 'error' event at:
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
[nodemon] app crashed - waiting for file changes before starting...`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with app.js and reproduce the client connection failure against the server listening on port 6667. Trace the ECONNRESET path shown through events.js and identify where the connection error is left unhandled. Done means a client reset no longer crashes the server or leaves nodemon restarting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.