# Websocket disconnects

**URL:** <https://forum.alpaca.markets/t/websocket-disconnects/6527>\
**Category:** Alpaca Market Data\
**Created:** [August 11, 2021, 8:16pm UTC](https://forum.alpaca.markets/t/websocket-disconnects/6527 "2021-08-11T20:16:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ds12653](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@ds12653](https://forum.alpaca.markets/u/ds12653)\
**Post date:** [August 11, 2021, 8:16pm UTC](https://forum.alpaca.markets/t/websocket-disconnects/6527/1 "2021-08-11T20:16:28Z")

</div>

Trying to use websocket streaming and the websocket disconnects every minute or so…  
I am using the wss://stream.data.alpaca.markets/v2/sip  
Authentication goes well  
Subscribing to “trades” stream:  
{“action”:“subscribe”,“trades”:[“TQQQ”]}

Sometimes I get a few updates  
Eventually the websocket disconnects after a minute.

Please advise.
