Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Many "Broken Pipe" exceptions on Jetty 9.4.12 - HTTP/2.0


On Thu, Oct 4, 2018 at 10:52 AM Michele Rossi <michele.rossi@xxxxxxxxx> wrote:
> hi all,
> I am getting a lot of exceptions like the one below since upgrading to 9.4.12 on Java 10:
> Broken pipe
>         at$DecryptedEndPoint.flush(
>         at
>         at
>         at$DecryptedEndPoint.lambda$fill$1(
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$
>         at java.base/
>         Suppressed: java.lang.Throwable: HttpInput failure
>                 at org.eclipse.jetty.server.HttpInput.failed(
>                 at org.eclipse.jetty.http2.server.HttpChannelOverHTTP2.onFailure(
>                 at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onStreamFailure(
>                 at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onSessionFailure(
>                 at org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory$HTTPServerSessionListener.onFailure(
>                 at org.eclipse.jetty.http2.HTTP2Session.notifyFailure(
>                 at org.eclipse.jetty.http2.HTTP2Session.abort(
>                 at org.eclipse.jetty.http2.HTTP2Flusher.onCompleteFailure(
>                 at org.eclipse.jetty.util.IteratingCallback.failed(
>                 at
>                 at
>                 ... 4 common frames omitted
> Does this happen because people close their browsers?

This happens when the client closes the connection abruptly during handshakes.

> Is there any way to make it less prominent in the logs?

At what log level is this logged?

> If instead this indicates a more serious problem then I'd like to fix it properly.

I don't think it indicates a serious problem.
The client is just shutting down a connection in the middle of a handshake.
I would not be surprised browsers do this to know what TLS
protocols/ciphers the server support.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top