403 Forbidden
running jmeter 5.6 to test webrtc softphone capacity. the goal is to simulate 100 concurrent users connecting via the web client sdk. the test fails immediately after 10 users connect.
the error log from the browser console shows:
WebSocket connection to 'wss://service-us-gcp-1.genesiscloud.com/...' failed: 403 Forbidden
i am using the standard authentication flow with jwt tokens generated via the admin api. the tokens are valid and work fine for single user manual testing. the issue only appears under load.
environment details:
- region: us1
- sdk version: genesys-cloud-webrtc-client 2.0.4
- jmeter version: 5.6
- concurrent users: 100 (ramp up 10/sec)
i checked the admin console and see no specific webrtc connection limits set for our organization. the standard limit is supposed to be based on licensing. we have enough licenses for 500 concurrent calls.
is there a hidden rate limit on websocket handshake requests? i noticed the requests are hitting the same edge node. maybe the edge is throttling the initial connection attempts?
i tried adding a random delay between connection attempts in jmeter (500ms) but the 403 errors still occur around user 12-15.
also checked the architect flow logs. no calls are being created. the failure happens before the call enters the flow. it seems to be a platform level rejection of the websocket connection.
any ideas how to debug this? i can provide the full jmeter thread group configuration if needed. currently using http request sampler to fetch the token and then javascript sampler to initialize the webrtc client.
this is blocking our capacity planning for the next quarter. we need to know the real concurrent connection limit for webrtc clients. the documentation is not clear on this specific error code under load conditions.