# Error setting min/max bandwidth for endpoint

**URL:** <https://openvidu.discourse.group/t/error-setting-min-max-bandwidth-for-endpoint/2612>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [January 28, 2021, 12:07am UTC](https://openvidu.discourse.group/t/error-setting-min-max-bandwidth-for-endpoint/2612 "2021-01-28T00:07:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/doug/32/260_2.png) [@doug](https://openvidu.discourse.group/u/doug)\
**Post date:** [January 28, 2021, 12:07am UTC](https://openvidu.discourse.group/t/error-setting-min-max-bandwidth-for-endpoint/2612/1 "2021-01-28T00:07:12Z")

</div>

Hi folks! Today i have some issues with openvidu server. In the log i can see this:

> io.openvidu.server.kurento.endpoint.SubscriberEndpoint - Error setting min video send bandwidth for endpoint  
> JsonJsonRpcClient is disconnected from WebSocket server at ‘ws://localhost:8888/kurento’

In the same time, the API stops responding and all users down (subscriber and publisher). After one or two minutes the media server respond normally, but i need to publish the stream again.

What should cause this?

Thks!

Here more info about log: [^[[36mopenvidu-server\_1 |^[[0m [ERROR] 2021-01-27 20:15:56,948 [AbstractJsonRpc - Pastebin.com](https://pastebin.com/bpcekxA3)

> OPENVIDU server 2.15.0  
> The publisher use Chrome latest version. 90% of subscribers use chrome too.  
> The server is dedicated to OpenVidu.  
> Deployed using odepoyment instructions page.

.env settings:

> OPENVIDU\_STREAMS\_VIDEO\_MAX\_RECV\_BANDWIDTH=1000  
> OPENVIDU\_STREAMS\_VIDEO\_MIN\_RECV\_BANDWIDTH=800  
> OPENVIDU\_STREAMS\_VIDEO\_MAX\_SEND\_BANDWIDTH=1000  
> OPENVIDU\_STREAMS\_VIDEO\_MIN\_SEND\_BANDWIDTH=700

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [February 1, 2021, 1:17pm UTC](https://openvidu.discourse.group/t/error-setting-min-max-bandwidth-for-endpoint/2612/2 "2021-02-01T13:17:46Z")

</div>

This is probably a crash in Kurento Media Server, the reason why the system drops all of its sessions is due of this crash in the Kurento Media Server. Unfortunately, crashed logs are not persisted in version 2.15.0 because docker-compose “auto restart” the container and kill the previous log, so I can’t tell you an specific reason.

I recommend you to update to 2.16.0, which fixes some possible Kurento Media Server crashes.

Regards,  
Carlos
