We have an application that connect to userstream to get direct messages. The connection was open indefinitely and we read the messages in a endless loop. We receive messages correctly but past several hours suddenly we stop receiving data.
No errors returned by Twitter, and the connection status is OK. We included the stall_warning parameter to the stream to receive warnings, but nothing, all its ok. The only receive information its a string.empty. What things we have to check our connection?