Hello Amit,
I can give you some troubleshooting steps, but ultimately when it comes to websockets my best recommendation would be to open a support case.
Some common issues related to the error:
- Connection timeout during the initial handshake
- Network Connectivity issues
- server-side connection limits
- client-side buffer overflow
Having these in mind here are some troubleshooting recommendations.
- Check if your WebSocket connection timeout settings match Genesys Cloud's requirements, 10 seconds.
- Verify that your client maintains proper buffer, 20 seconds of audio buffer.
- Monitor network stability between your deployment and Genesys.
- Implement proper reconnection logic if not already in place.
I have seen this issue come up and its usually the app or whatever you are using is taking longer than 10 seconds for the initial handshake and the web socket closes.
Hope this helps.
------------------------------
Cameron
Online Community Manager/Moderator
------------------------------