{"error": "ICE_CONNECTION_FAILED", "code": 408, "trace": "wss://api.us.genesyscloud.com/v2/webchat/sessions/..."}
Background
Deploying a Genesys Cloud Digital Channel webhook to ServiceNow via REST API. The payload triggers a screen pop on the agent desktop. Environment is v19.8.0, London region. ServiceNow MID server logs show successful receipt of the initial transcript payload.
Issue
The WebRTC connection for the softphone fails to establish simultaneously with the screen pop. The agent hears a dial tone but the call state remains RINGING indefinitely. The Genesys Cloud Architect flow shows the Create Conversation action succeeded, but the subsequent Transfer to Agent action throws a 408 Timeout. This correlates with the ServiceNow ticket creation latency averaging 1.2s.
Troubleshooting
- Verified SDP exchange in browser dev tools; offer/answer cycle completes but ICE candidates are not gathered.
- Confirmed firewall rules allow ports 50000-60000 UDP/TCP.
- Reduced ServiceNow REST API timeout from 30s to 10s; no change in behavior.
- Tested with a simple
Logaction instead of ServiceNow call; WebRTC connects successfully. - Checked Genesys Cloud WebRTC SDK version 2.4.1; no known bugs reported for this version.