# Errors trying to leave call

**URL:** <https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [January 5, 2021, 1:49pm UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532 "2021-01-05T13:49:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Ullal](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aaron_ullal/32/1248_2.png) [@Aaron\_Ullal](https://openvidu.discourse.group/u/Aaron_Ullal)\
**Post date:** [January 5, 2021, 1:49pm UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/1 "2021-01-05T13:49:42Z")

</div>

I am using OpenVidu v 2.16 + angular client.

I have one-to-one video calls and would like to implement start call and end call functionalities.  
After I end the call, which I do with a simple  
`this.session.disconnect()`  
I send a websocket message to the other participant and he automatically does the same thing  
`this.session.disconnect()`

After I do that, however, I see several errors:

 ![error](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/5/5d8d95bb898bf5b40acfebf1c645d1665eefb1ae.jpeg)

Why is the client still trying to send data after disconnecting the session?

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [January 5, 2021, 2:10pm UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/2 "2021-01-05T14:10:49Z")

</div>

This is a bug with openvidu-browser 2.16.0. Please, try openvidu-browser 2.16.2

---

<div class="post-metadata">

**Author:** ![Aaron\_Ullal](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aaron_ullal/32/1248_2.png) [@Aaron\_Ullal](https://openvidu.discourse.group/u/Aaron_Ullal)\
**Post date:** [January 7, 2021, 9:47am UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/4 "2021-01-07T09:47:37Z")

</div>

Hi @CSantosM!  
Thanks for the response.  
I am currently using version 2.16.2.  
As a matter of fact I get the following warning:

`OpenVidu Server (2.16.0) and OpenVidu Browser (2.16.2) versions do NOT match. There may be incompatibilities`

Could this be related or is there anything else I can try?

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [January 7, 2021, 10:05am UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/5 "2021-01-07T10:05:37Z")

</div>

Sorry @Aaron_Ullal , my fault.  
The bugfix is on master and it is not included on 2.16.2 version.  
You can build it following these steps [OpenVidu Docs](https://docs.openvidu.io/en/2.16.0/developing/#compiling-openvidu-browser)

---

<div class="post-metadata">

**Author:** ![Aaron\_Ullal](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aaron_ullal/32/1248_2.png) [@Aaron\_Ullal](https://openvidu.discourse.group/u/Aaron_Ullal)\
**Post date:** [January 7, 2021, 10:24am UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/6 "2021-01-07T10:24:58Z")

</div>

No worries @CSantosM!  
Thanks for the tip.  
What is the ETA for the new release?  
It’s not an urgent issue so I might be able to wait 🙂  
Thanks again for the help man!

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [January 11, 2021, 10:27am UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/7 "2021-01-11T10:27:30Z")

</div>

You can use the 2.17.0-beta1 which is already published but take into account that it is a beta.  
Regards

---

<div class="post-metadata">

**Author:** ![Aaron\_Ullal](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aaron_ullal/32/1248_2.png) [@Aaron\_Ullal](https://openvidu.discourse.group/u/Aaron_Ullal)\
**Post date:** [March 25, 2021, 10:22am UTC](https://openvidu.discourse.group/t/errors-trying-to-leave-call/2532/9 "2021-03-25T10:22:53Z")

</div>

Looking good on version 2.17!  
Thanks!
