When I connect to the http push streaming API, the server periodically sends a ‘tick’ message which keeps the connection open.
But, when using the websockets API, only a few tweets are transmitted.
In addition, your server sends a FIN packet, so it seems the connection is being closed by the server.
How do I prevent this from happening/is the websockets API commonly used?
I can provide tcpdump capture if this is of use to datasift.