Getting 1006 close code on the Genesys Cloud WebSocket when the Cognigy bot tries to transfer to an agent. The audio stream cuts out right at the handoff point. Here’s the connection setup in Kotlin:
val uri = Uri.Builder()
.scheme("wss")
.authority("api.mypurecloud.com")
.appendPath("v2")
.appendPath("conversations")
.appendQueryParameter("access_token", token)
.build()
The ping interval looks standard. Anyone seen this latency spike before?