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
Malformed JSON: java.io.IOException: Pipe broken #1
Comments
According to javadoc for the related
...and I can see in the source for That doesn't entirely explain why multiple runs all fail simultaneously, but presumably there's some OS-level socket dispatching going on. |
Also, --raw now remembers to check for expected problems in this case. See #1.
Used to ferry text from the WebSocket listener to a Reader passed to GSON. Unlike PipedReader/PipedWriter, this implementation tolerates the death of the thread used by WebSocket. Fixes #1.
Occasionally,
helog
fails with:Malformed JSON: java.io.IOException: Pipe broken
(Or, when
--raw
is specified, justPipe broken
)I've only noticed this when multiple instances of
helog
are running, and they all fail at the same time.The text was updated successfully, but these errors were encountered: