WebSocket Configuration
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 logs like the message
below, increase the buffer size in the server configuration.
/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:
Increase the buffer size in the server configuration.
Add the following key and value.
websocket.send.buffer.size | |
Restart the Cortex XSOAR service.