Skip to content

Conversation

@isul
Copy link

@isul isul commented Feb 8, 2019

Fixed the following error when duplicate server is down.
"BufferedStream is already ended"

@joerg-walter-de
Copy link

Doesn't seem to be fixed in v0.1.1.

I get

c:\XXX\node_modules\bufferedstream\index.js:317
      throw new Error('BufferedStream is already ended');
      ^

Error: BufferedStream is already ended
    at BufferedStream.<anonymous> (c:\XXX\node_modules\bufferedstream\index.js:317:13)
    at c:\XXX\node_modules\duplicator\index.js:98:16
    at Socket.<anonymous> (c:\XXX\node_modules\duplicator\index.js:69:7)
    at Socket.emit (events.js:314:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

@isul
Copy link
Author

isul commented Oct 8, 2020

Currently, the original author of this program did not apply the code I modified.

Try the source code from the link below where the problem is fixed.
https://github.com/isul/duplicator

Doesn't seem to be fixed in v0.1.1.

I get

c:\XXX\node_modules\bufferedstream\index.js:317
      throw new Error('BufferedStream is already ended');
      ^

Error: BufferedStream is already ended
    at BufferedStream.<anonymous> (c:\XXX\node_modules\bufferedstream\index.js:317:13)
    at c:\XXX\node_modules\duplicator\index.js:98:16
    at Socket.<anonymous> (c:\XXX\node_modules\duplicator\index.js:69:7)
    at Socket.emit (events.js:314:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

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.

2 participants