I can’t seem to figure out why our WebRTC softphone connections are intermittently dropping specifically when the WFM schedule publish job runs via the SDK. We use the Genesys Cloud API v2.140.0 to automate our weekly schedule deployments in America/Chicago. The publish process triggers a high volume of API calls to update agent states and availability. During this window, agents on the WebRTC softphone experience sudden disconnections. The error logs show “ICE Candidate Gathering Failed” followed by a “Connection Lost” event. This happens consistently on Tuesdays at 10 AM CST when we push the new shifts. We have verified that the network bandwidth is stable and there are no firewall changes. The issue seems tied to the API load rather than network congestion. We are using the default WebRTC settings provided by Genesys Cloud. No custom STUN or TURN servers are configured. The problem affects agents across different locations but is most prevalent in our Chicago hub. We have tried reducing the batch size of the schedule publish, but the drops still occur. The API response times spike during the publish window, which correlates with the softphone disconnects. We suspect that the WebRTC signaling server is struggling with the concurrent API requests. Is there a known limitation on concurrent API calls that impact WebRTC stability? We need a reliable way to publish schedules without disrupting active agent sessions. The current workaround is to publish during off-peak hours, but this delays the schedule availability for agents. We would appreciate any insights into optimizing the API calls or configuring the WebRTC settings to handle this load. Here are the specific details of our environment:
- Region: us-east-1
- SDK Version: 2.140.0
- API Endpoint: /v2/wfm/schedules/publish
- Error Code: ICE Candidate Gathering Failed
- Agent Count: 150 active during publish window
- Network: Corporate VPN with stable latency
We have checked the WFM logs and confirmed that the schedule publish completes successfully. The issue is purely on the softphone side. Any guidance on mitigating this conflict would be greatly appreciated.