Hello!
We are trying out OpenVidu EE but it seems around 50% of the times we fail to joinRoom
and we get back a 202
error code.
That doesn’t happen with OpenVidu CE.
At first we thought it’s some race condition where we try to joinRoom
for a session that is not yet created, but we noticed that:
- Rest APIs confirm the session is created
- Retrying to join the room continues to fail forever (so it is not a race condition)
Example RPC request:
{
"id": 1,
"jsonrpc": "2.0",
"method": "joinRoom",
"params": {
"metadata": "{ \"clientData\": \"353919813\" }",
"platform": "Android 30",
"secret": "",
"session": "ses_J9rqjRumxi",
"token": "wss:\/\/myserver.com?sessionId=ses_J9rqjRumxi&token=tok_QHsOHt9gNkdZ5NyD&webrtcStatsInterval=30&sendBrowserLogs=disabled",
"userId": "353919813"
}
}
And response:
{
"id": 1,
"error": {
"code": 202,
"message": "Unable to join session. Session ses_J9rqjRumxi cannot be found. Code: 202"
},
"jsonrpc": "2.0"
}
Any clue why this happens?
Thank you,
Alessandro