My question is related to the API limit which we cannot find in the documentation.
Our web socket connection was closed with the error:
"com.neovisionaries.ws.client.WebSocketException: Flushing frames to the server failed: Connection or outbound has closed"
Our application started the reconnection process. When the App tried to create a new connection it received an error during the handshake:
"com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 429 Too Many Requests"
Only one try was made for reconnection where we received "Too Many Requests".
Could you please help us to find out which limit has been exceeded?
There aren't any documented limits for websocket connections that would result in this response. Please open a case with Genesys Cloud Care to investigate further.
Just got a response back that there is an undocumented limit of 60 connections per minute per user per OAuth client. You most certainly shouldn't be hitting this limit since a well-behaved app would connect exactly once during its lifetime, except to reconnect if the device's network connection has an issue. If your network is unstable to the point where your app is having to reconnect more than 60 times per minute, that use case is not supported and you will need to work with your networking team to improve the reliability of your network.