Could someone explain why WebSocket connections are dropping during a high-concurrency load test in our BYOC environment?
Running a JMeter script to simulate 500 concurrent inbound calls via the WebRTC endpoint. The setup uses the standard Genesys Cloud BYOC configuration with our own media servers. At around 300 concurrent sessions, the WebSocket connections start failing with a 1006 (Abnormal Closure) error. The logs show the connections are being dropped by the server side, not the client.
The JMeter config is set to ramp up 50 users every 10 seconds. The API calls to create the calls are succeeding (201 Created), but the WebSocket handshake fails shortly after. Checking the Genesys Cloud logs, there are no obvious error messages, just the connection termination.
We are using the latest version of the Genesys Cloud Web SDK. The environment is set to production, and we have verified that the WebSocket endpoints are accessible. The load test is running from a single JMeter instance to simulate a burst of traffic.
Is there a known limit on the number of concurrent WebSocket connections per BYOC tenant? Or could this be a timeout issue related to the media server configuration? We have checked the network connectivity and there are no firewall rules blocking the traffic. The issue seems to be specific to the high concurrency level, as lower concurrency tests (e.g., 100 concurrent calls) work without any issues.
Any insights on how to troubleshoot this further would be appreciated. We are looking to validate the capacity of our BYOC setup before going live with a larger campaign. The current behavior is preventing us from scaling the load test to the desired concurrency level.