# Unable to receive order update on webscoket

**URL:** <https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819>\
**Category:** Uncategorized\
**Created:** [December 12, 2024, 10:16am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819 "2024-12-12T10:16:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavishya\_Goyal](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bhavishya\_Goyal](https://community.tradovate.com/u/Bhavishya_Goyal)\
**Post date:** [December 12, 2024, 10:16am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/1 "2024-12-12T10:16:15Z")

</div>

Hi,

This is related to **Tradovate Websocket** API

We subscribe Websocket for order status update

After a certain hour around 3-4 hour we stop receiving any data . We didn’t get any close frames  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Frik](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/frik/32/2627_2.png) [@Frik](https://community.tradovate.com/u/Frik)\
**Post date:** [December 13, 2024, 9:29am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/2 "2024-12-13T09:29:53Z")

</div>

We do not have any issues like this. There might be a device in your network disconnecting the websocket.

Make sure that you respond the heartbeat request and also send your own heartbeats as well.

Then add code to detect a websocket disconnection and reconnect automatically.

---

<div class="post-metadata">

**Author:** ![Bhavishya\_Goyal](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bhavishya\_Goyal](https://community.tradovate.com/u/Bhavishya_Goyal)\
**Post date:** [December 13, 2024, 10:19am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/3 "2024-12-13T10:19:55Z")

</div>

Hi @Frik

Thanks for your Kind help we keep sending heartbeat and we also get heartbeat and didn’t get any close event and heartbeat keep exchanging that means WebSocket is still open it’s just we don’t get order updates.

could that be issue we are connected on WebSocket for order status and we make rest call that disconnect WebSocket ?

---

<div class="post-metadata">

**Author:** ![Bhavishya\_Goyal](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bhavishya\_Goyal](https://community.tradovate.com/u/Bhavishya_Goyal)\
**Post date:** [December 13, 2024, 11:28am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/4 "2024-12-13T11:28:47Z")

</div>

Hi @Frik ,

is there any call which we can make so we know like we are connected with order status update or not and then we can make synch request again accordingly ?

Any help would be really appreciated

---

<div class="post-metadata">

**Author:** ![Brett\_Barrett](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@Brett\_Barrett](https://community.tradovate.com/u/Brett_Barrett)\
**Post date:** [December 13, 2024, 9:53pm UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/5 "2024-12-13T21:53:33Z")

</div>

Please check documentation and search for “heartbeat” server frames, they should help you with understanding connection status and making sure its still connected.

---

<div class="post-metadata">

**Author:** ![Frik](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/frik/32/2627_2.png) [@Frik](https://community.tradovate.com/u/Frik)\
**Post date:** [December 14, 2024, 1:20am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/6 "2024-12-14T01:20:14Z")

</div>

A usersync should only be done once after authentication. Any other updates will be processed as events.

Brett is correct that heartbeats will give you confidence that you are still connected.

---

<div class="post-metadata">

**Author:** ![Bhavishya\_Goyal](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bhavishya\_Goyal](https://community.tradovate.com/u/Bhavishya_Goyal)\
**Post date:** [December 16, 2024, 5:18am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/7 "2024-12-16T05:18:59Z")

</div>

@Alexander May i request you to help on this since we tried sending hearbeat but still we stop receiving order updates

---

<div class="post-metadata">

**Author:** ![Frik](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/frik/32/2627_2.png) [@Frik](https://community.tradovate.com/u/Frik)\
**Post date:** [December 20, 2024, 9:39am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/8 "2024-12-20T09:39:29Z")

</div>

Let me know if you need help

---

<div class="post-metadata">

**Author:** ![Bhavishya\_Goyal](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bhavishya\_Goyal](https://community.tradovate.com/u/Bhavishya_Goyal)\
**Post date:** [December 20, 2024, 10:08am UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/9 "2024-12-20T10:08:03Z")

</div>

sure @Frik . Thanks a ton for your kind help

---

<div class="post-metadata">

**Author:** ![Frik](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/frik/32/2627_2.png) [@Frik](https://community.tradovate.com/u/Frik)\
**Post date:** [December 21, 2024, 5:17pm UTC](https://community.tradovate.com/t/unable-to-receive-order-update-on-webscoket/10819/10 "2024-12-21T17:17:01Z")

</div>

Feel free to ask on the Discord server as it is more interactive

> **[Join the TradingPlace Discord Server!](https://discord.com/invite/vtWB35SqTn)**
>
> Check out the TradingPlace community on Discord - hang out with 104 other members and enjoy free voice and text chat.
