#312·ndb

Error: read ECONNRESET when starting ndb on ubuntu

Author: Ravi-RajpurohitCreated May 15, 2020Updated Jul 19, 2022

Steps to reproduce

Tell us about your environment:

  • ndb version: 1.1.5
  • Platform / OS version: ubuntu/18.04
  • Node.js version: 12.16.3

What steps will reproduce the problem?

ndb filename.js OR ndb npm run script

Please include code that reproduces the issue.

  1. ndb filename.js
  2. ndb npm run script

What is the expected result?

ndb should start the debugger

What happens instead?

ndb throws an error:

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

Error: read ECONNRESET at Pipe.onStreamRead (internal/stream_base_commons.js:205:27) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }