WebSocket Configuration - Administrator Guide - 6.6 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.6
Creation date
2022-09-29
Last date published
2024-04-08
End_of_Life
EoL
Category
Administrator Guide
Abstract

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.

  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.

    sudo systemctl demisto start