Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed "BufferedStream is already ended" error when duplicate server is down. #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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