Skip to content

Fixed incorrect stream to listen for restart command#1

Open
marcellus-trixus wants to merge 1 commit intoebx-bundler:mainfrom
marcellus-trixus:fix_run_plugin
Open

Fixed incorrect stream to listen for restart command#1
marcellus-trixus wants to merge 1 commit intoebx-bundler:mainfrom
marcellus-trixus:fix_run_plugin

Conversation

@marcellus-trixus
Copy link

@marcellus-trixus marcellus-trixus commented Dec 18, 2023

Hi, this commit fixes EBX run mode throwing Error: read ENOTCONN because it was listening on std-out stream instead of std-in.

Full stacktrace:

node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: read ENOTCONN
    at tryReadStart (node:net:701:20)
    at Socket._read (node:net:716:5)
    at Readable.read (node:internal/streams/readable:715:12)
    at Socket.read (node:net:771:39)
    at resume_ (node:internal/streams/readable:1222:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on WriteStream instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4053,
  code: 'ENOTCONN',
  syscall: 'read'

@md-adil
Copy link
Collaborator

md-adil commented Jan 30, 2025

Hi, Sorry for the delay,
The rs command is working as expected, can you be more specific about the issue Error: read ENOTCONN you're facing, this is the first time I have seen it.

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

Successfully merging this pull request may close these issues.

3 participants