-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot call write after a stream was destroyed #13
Comments
Was the daemon running idle or were you running commands on it? Just curious. Based on the stack trace it looks like a remote peer ended the connection as we were writing to it and there is an edge case somewhere that's not ending the readable-stream. Since the stack trace isn't coming from pull-stream, I'm assuming we're losing the close/error propagation somewhere. |
lidel
added a commit
to ipfs/js-ipfs
that referenced
this issue
Jul 8, 2019
This removes buffer-peek-stream which caused uncaught errors inside of Hapijs and replaces it with much simpler approach to set content-type header in Gateway responses. Closes libp2p/js-libp2p#374 Closes libp2p/pull-mplex#13 License: MIT Signed-off-by: Marcin Rataj <[email protected]>
lidel
added a commit
to ipfs/js-ipfs
that referenced
this issue
Jul 12, 2019
This is an alternative to #2227 that does not hit datastore twice. The underlying error was caused by multiple PassThrough/pipe calls. Turns out go-ipfs does not compress anything by default, so we can remove PassThrough responsible for streaming of compressed payload and fix the issue while keeping optimization introduced by buffer-peek-stream. Closes libp2p/js-libp2p#374 Closes libp2p/pull-mplex#13 License: MIT Signed-off-by: Marcin Rataj <[email protected]>
alanshaw
pushed a commit
to ipfs/js-ipfs
that referenced
this issue
Jul 12, 2019
This is an alternative to #2227 that does not hit datastore twice. The underlying error was caused by multiple PassThrough/pipe calls. Turns out go-ipfs does not compress anything by default, so we can remove PassThrough responsible for streaming of compressed payload and fix the issue while keeping optimization introduced by buffer-peek-stream. Closes libp2p/js-libp2p#374 Closes libp2p/pull-mplex#13 License: MIT Signed-off-by: Marcin Rataj <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently crashing
ipfs daemon
:The text was updated successfully, but these errors were encountered: