Error "Websocket was disconnected, please refresh your browser" in XSOAR GUI
43006
Created On 03/18/21 10:02 AM - Last Modified 07/30/24 14:45 PM
Symptom
- Repeated occurrences of the error message: "WebSocket was disconnected, please refresh your browser." on GUI
- Errors in the server logs or Cortex XSOAR’s System Diagnostics page like the message below:
/home/ubuntu/.go_workspace/src/github.com/demisto/server/websockets/wsconn.go:111) 2019-12-12 10:21:12.9289 error write tcp 127.0.0.1:443->127.0.0.1:52181: use of closed network connection
Environment
- Cortex XSOAR
- Version 6.1 and later
Cause
Data in XSOAR platform is not updating in real-time due to the following reason(s):
- The network proxy is killing the WebSocket connection.
- Too much data is being passed on the WebSockets channel; An inadequate buffer size for WebSocket connections
Resolution
- If the network proxy is the cause, adjust network proxy settings to allow WebSocket connections.
- If data size is the cause, increase the buffer size in the server configuration - WebSocket-Configuration
- After restarting, clear the browser cache to ensure the session is refreshed.