I’ve just experienced many/constant of the following ‘Broken pipe’ errors on Vaadin 14.0.15 and 14.1.16 using either a Chrome or a Brave browser, rendering my application completely unusable.
05:58:37.867 ERROR[http-nio-80-exec-8]
org.apache.juli.logging.DirectJDKLog: Servlet.service() for servlet [dispatcherServlet]
in context with path [] threw exception [com.vaadin.flow.server.ServiceException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe]
with root cause
java.io.IOException: Broken pipe
at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:484)
at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:138)
....
...
These errors disappeared and the application became usable again after had I cleared my cookies.
Full story here: https://github.com/vaadin/framework/issues/11332#issuecomment-580091270.