# Dead connections still visible

**URL:** <https://openvidu.discourse.group/t/dead-connections-still-visible/716>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [May 7, 2020, 6:59am UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716 "2020-05-07T06:59:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![icap84](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/icap84/32/1284_2.png) [@icap84](https://openvidu.discourse.group/u/icap84)\
**Post date:** [May 7, 2020, 6:59am UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/1 "2020-05-07T06:59:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [May 8, 2020, 11:12am UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/2 "2020-05-08T11:12:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [May 8, 2020, 12:29pm UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/3 "2020-05-08T12:29:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![icap84](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/icap84/32/1284_2.png) [@icap84](https://openvidu.discourse.group/u/icap84)\
**Post date:** [May 9, 2020, 10:24am UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/4 "2020-05-09T10:24:22Z")

</div>

it’s 2.12 version.

Which logfile do you want? kms log?

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [May 9, 2020, 11:11am UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/5 "2020-05-09T11:11:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![icap84](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/icap84/32/1284_2.png) [@icap84](https://openvidu.discourse.group/u/icap84)\
**Post date:** [May 11, 2020, 1:22pm UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/6 "2020-05-11T13:22:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [May 11, 2020, 3:08pm UTC](https://openvidu.discourse.group/t/dead-connections-still-visible/716/7 "2020-05-11T15:08:36Z")

</div>

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