End-of-Life (EoL)

WebSocket Configuration

Troubleshooting slow response from Cortex XSOAR which maybe caused by the buffer size in the WebSocket communication protocol.
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.
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.
  1. Select
    Settings
    ABOUT
    Troubleshooting
    Add Server Configuration
    .
  2. Add the following key and value.
    Key
    Value
    websocket.send.buffer.size
    8000
  3. Click
    Save
    .
  4. Restart the Cortex XSOAR service.

Recommended For You