Vaadin Push SocketTimeoutException

Hello,

I’ve implemented in my app Vaadin Push and I’m getting SocketTimeoutException when browser is idle (something like 5 mins).

lis 29, 2016 10:19:24 AM org.atmosphere.container.Jetty9WebSocketHandler onWebSocketError SEVERE: {} java.net.SocketTimeoutException: Timeout on Read at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onReadTimeout(AbstractWebSocketConnection.java:526) at org.eclipse.jetty.io.AbstractConnection.onFillInterestedFailed(AbstractConnection.java:173) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillInterestedFailed(AbstractWebSocketConnection.java:496) at org.eclipse.jetty.io.AbstractConnection$ReadCallback$1.run(AbstractConnection.java:582) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539) at java.lang.Thread.run(Thread.java:745) I’m using Vaadin 7.7.4 and Jetty 9.2.3.v20140905.

How can I fix this?

Good question. I get the same exception a lot.

I didnt see any problems with it though, so I doubt it’s as severe as the log says.

It would be great if we had some solution to this, because it can spam logs a lot.