Add server configuration to increase buffer size in the WebSocket communication protocol. Troubleshooting slow response, data updates, from Cortex XSOAR.
A WebSocket communications protocol is used in Cortex XSOAR for bi-directional data transfer between the client browser and the server. WebSocket communication enables data to auto update without refreshing the browser.
If a user experiences a slow response from the Cortex XSOAR server and does not receive data updates on certain pages and actions, the WebSocket may be disconnecting.
If you see errors in the server logs or in Cortex XSOAR’s System Diagnostics page like the message below, increase the buffer size in the server configuration.
Message:
/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 (source:
Solution:
Increase the buffer size in the server configuration.
Select
→ → → .Add the following key and value.
Key
Value
websocket.send.buffer.size
8000
Click Save.
Restart the Cortex XSOAR service.
sudo systemctl demisto start