DELETE "ghost" sessions on openvidu server

Hello,
I’m implementing a video chat with high room turnover, and after some time the servers start to persist some sessions opened that cannot be deleted by calling DELETE /api/sessions/<SESSION_ID>.

i have many sessions like these :
{“sessionId”:“10430085ac31d83d8708f0a9be5e632e”,“createdAt”:1585590390052,“mediaMode”:“ROUTED”,“recordingMode”:“MANUAL”,“defaultOutputMode”:“COMPOSED”,“defaultRecordingLayout”:“BEST_FIT”,“customSessionId”:“10430085ac31d83d8708f0a9be5e632e”,“connections”:{“numberOfElements”:0,“content”:[]},“recording”:false},{“sessionId”:“0af7f415979fc3370b1ef5d0ee486d71”,“createdAt”:1585664308921,“mediaMode”:“ROUTED”,“recordingMode”:“MANUAL”,“defaultOutputMode”:“COMPOSED”,“defaultRecordingLayout”:“BEST_FIT”,“customSessionId”:“0af7f415979fc3370b1ef5d0ee486d71”,“connections”:{“numberOfElements”:0,“content”:[]},“recording”:false},

sessions created by hours or even days, that apperars on GET /api/sessions, and the only way to destroy them its restarting the services of Openvidu and KMS, i tryed to call destroy method on each of them but didn’t get success.

Any advices about this? Is this an normal behavior?

Regards

Hi,

Which version of OpenVidu are you using? 2.12.0 introduced some bug fixes that helped with these ghost sessions.

If you are using 2.12.0 and you are still getting this issue, we have already identified some more extreme corner cases that may end with these ghost sessions. Already working on it. 2.13.0 will be out soon.

Regards.

Hi,
I’m currently using version 2.12.0.
Thanks for the answer i will wait the next version 2.13.0

By the way I’m developing a mobile app with react-native from scratch based on openvidu-react tutorial, and face an error, when i searched for a solituion i found this answare issue, is it true? i need to buy one license? if yes , please give me more information about this

Hello,
As you can read in OpenVidu docs…

Contact us through openvidu@gmail.com or Commercial support

Regards