title: finding out the reason for Web Socket disconnect happened
body: <p>I am using Jetty Web sockets in my Application with Jetty 7 as our Server.</p>
  
  <p>In our Application,  data will be continuously flowing for every 1 second through web Socket , and as per  our application design , if the Socket is idle for 4 minutes then the Socket will be disconnected.</p>
  
  <p>Right now we are experiencing web Socket disconnects in our Application, I am unable to find  out the reason for Web Socket disconnect reason, is this because the  Socket is idle for 4 minutes or Something happened at the network level (I mean load balancer , firewall --etc )</p>
  
  <p>For every disconnect , inside Jetty the reason code as 1006 (chrome)</p>
  
  <p>Please let me know how can i find out the actual reason for disconnect happened?</p>
  
  <p>Is there any way i can monitor the web socket traffic?</p>
  
  <p>I have tried using the Chrome debugger tools Websocket tab to monitor the traffic , but once it disconnected i have no cluse of what data is present in Websocket at that time?</p>
  
  <p>Please share your ideas on how to handle this case that is how to find out whats the reason for findout the WebSocket?</p>