Unanswered question

Websocket channel getting closed during the run when load is high

Hi ,

I am working on the websocket module.When the load is high.Websocket channel is getting closed with error as
Error Code: NL-WEBSOCKET-CHANNEL-ENGINE Message: Error occured while executing WebSocket channel. Details: java.net.SocketTimeoutException: Timeout on Read at org.eclipse.jetty.websocket.common.io.

Actually i have kept a logging our application to identify the reason for closure. And the reason that we got is

NORMAL_CLOSURE
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.

I have searched google and found this.

http://stackoverflow.com/questions/9056159/websocket-clos...

Please go through this link and suggest how can we solve this.It the Jetty is not taking the load or any idletimeout set on the jetty for websocket session. Please help me in this.

Follwing is the full log

Error Code: NL-WEBSOCKET-CHANNEL-ENGINE Message: Error occurred while executing WebSocket channel. Details: java.net.SocketTimeoutException: Timeout on Read at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onReadTimeout(AbstractWebSocketConnection.java:588) at org.eclipse.jetty.io.AbstractConnection.onFillInterestedFailed(AbstractConnection.java:162) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillInterestedFailed(AbstractWebSocketConnection.java:534) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.failed(AbstractConnection.java:270) at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:125) at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:173) at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166) at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

raj N.
raj N.

raj N.

Level
1
153 / 750
points

No answers