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

What causes Broken pipe? #11569

Closed
urumax opened this issue Mar 26, 2024 · 3 comments
Closed

What causes Broken pipe? #11569

urumax opened this issue Mar 26, 2024 · 3 comments
Labels

Comments

@urumax
Copy link

urumax commented Mar 26, 2024

Jetty Version
Jetty9.4

Java Version
$ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

Question
When the websocket is disconnected, onError is rarely called and "Broken pipe" is displayed in Reason.
OnError has not been called on the connection destination. No error log is output either.
What causes broken pipe instead of timeouts?
Does it occur when client and server perform disconnect operations at the same time?
Is it okay to ignore it?

Due to system limitations, we are using version 9.
If this problem does not occur even after upgrading, I would like to consider upgrading.

@lachlan-roberts
Copy link
Contributor

Note: Jetty 9, Jetty 10, and Jetty 11 are all now at End of Community Support.
So you should strongly consider upgrading to Jetty 12.

See:

@lachlan-roberts
Copy link
Contributor

But just means that the connection was closed when you were trying to write.

The WebSocket implementation has been completely re-written for the newer versions of Jetty, I would expect onError to be called in the newer versions.

@urumax urumax closed this as completed Jun 19, 2024
@urumax
Copy link
Author

urumax commented Jun 19, 2024

I have resolved but I forgot to close the ticket.

I would like to take this opportunity to thank everyone who provided advice.

I will now close this ticket. Thank you for your continued support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants