App is in production and normally users are login remotely .... Its not a user side issue since all the users got disconnected once app got crashed for one user. here is production server log I am marking all the Stream in Red who got disconnected from Server ( Sorry my mistake in earlier email as App is not crashing in any case , All the users got disconnected from Server )
2020-05-31 13:42:38,270 [webrtc-client-stream-9871797301-hashcode-1476573663] INFO i.a.enterprise.webrtc.WebRTCClient - Closing peer connection factory for 9871797301 2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: java.io.IOException: java.io.IOException: Connection reset by peer at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:315) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:258) at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:612) at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:497) at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:459) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:176) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1682) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:388) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213) at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293) ... 1 more
2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 9818596699 for 1048640397 2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.w.WebSocketEnterpriseHandler - streamId for processLeaveCommand:9910021976 2020-05-31 13:42:38,270 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 8929909249 for 900313452 2020-05-31 13:42:38,270 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 9999190045 for 504602589 2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(1048640397) to webrtc muxer(240p - codec:H264) for stream: 9818596699 current viewer count:2 decremented:true 2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - entering stop() for 9910021976 2020-05-31 13:42:38,270 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(900313452) to webrtc muxer(240p - codec:H264) for stream: 8929909249 current viewer count:2 decremented:true 2020-05-31 13:42:38,270 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(504602589) to webrtc muxer(240p - codec:H264) for stream: 9999190045 current viewer count:2 decremented:true 2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 9818596699 2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.w.WebSocketEnterpriseHandler - WebRTC Encoder adaptor stop stream Id 9910021976 for session cb 2020-05-31 13:42:38,271 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 8929909249 2020-05-31 13:42:38,271 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 9999190045
Question
Sachin Gupta
2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: java.io.IOException: java.io.IOException: Connection reset by peer
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:315)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:258)
at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:612)
at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:497)
at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:459)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:176)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1682)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:388)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)
... 1 more
2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 9818596699 for 1048640397
2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.w.WebSocketEnterpriseHandler - streamId for processLeaveCommand:9910021976
2020-05-31 13:42:38,270 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 8929909249 for 900313452
2020-05-31 13:42:38,270 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCClient - Stop is called for 9999190045 for 504602589
2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(1048640397) to webrtc muxer(240p - codec:H264) for stream: 9818596699 current viewer count:2 decremented:true
2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - entering stop() for 9910021976
2020-05-31 13:42:38,270 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(900313452) to webrtc muxer(240p - codec:H264) for stream: 8929909249 current viewer count:2 decremented:true
2020-05-31 13:42:38,270 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCMuxer - unregister webrtc client(504602589) to webrtc muxer(240p - codec:H264) for stream: 9999190045 current viewer count:2 decremented:true
2020-05-31 13:42:38,270 [webrtc-client-stream-9818596699-hashcode-1048640397] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 9818596699
2020-05-31 13:42:38,270 [http-nio2-0.0.0.0-5080-exec-7] INFO i.a.e.w.WebSocketEnterpriseHandler - WebRTC Encoder adaptor stop stream Id 9910021976 for session cb
2020-05-31 13:42:38,271 [webrtc-client-stream-8929909249-hashcode-900313452] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 8929909249
2020-05-31 13:42:38,271 [webrtc-client-stream-9999190045-hashcode-504602589] INFO i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 9999190045
Link to comment
Share on other sites
Top Posters For This Question
3
Popular Days
Jun 1
1
Jun 2
1
Jun 7
1
Top Posters For This Question
Sachin Gupta 3 posts
Popular Days
Jun 1 2020
1 post
Jun 2 2020
1 post
Jun 7 2020
1 post
2 answers to this question
Recommended Posts