Dead connections still visible

Hi
I have a problem with clients who have left a session but which openvidu still sees as connected. I think these are customers who left without properly calling the methods for closing their connection.
If I query the REST API for these sessions, the webservice returns a list of connected clients including these dead connections as if they were still active, even several hours later. So when we go to the session with a browser, their video is displayed but transparently since there is no longer a webcam associated with the video.
Do you have any idea of what append and how to resolve it?
Thanks a lot for your help

It seems a bug.

Can you provide us the openvidu-server logs at the time these users are gone? It seems our automatic dead user detection mechanism is not working appropriately.

In which version of OpenVidu do you get this ghost connections?

it’s 2.12 version.

Which logfile do you want? kms log?

Several bugs regarding ghost sessions and connections were fixed with 2.13.0 release. There were some pretty complex concurrency problems that were addressed, and the behavior of ghost entities must have improved from 2.12.0 to 2.13.0. Please, upgrade when possible and see if your problems are mitigated.

I saw that v2.14 will be released soon, is it exact? Is it possible to test that version en beta?
Because I use specific ports on my installation and it seems that v2.13 doesn’t allow to customize ports.

We will release 2.14 version tomorrow. We are with the final bits right now.