Disconnected from StreamAPI socket on subscription

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nic
    Junior Member
    • Jul 2020
    • 1

    #1

    Disconnected from StreamAPI socket on subscription

    I am working on an app to interface with the stream API, new to this so please bear with me! I have managed to establish a connection, authenticate then keep the connection open by sending a heartbeat every 15 seconds, and I get a status response to every heartbeat.

    The problem is when I send an op=mcm message, I get the large response, but then the socket gets immediately disconnected! There is no error status message telling me why either. I am filtering by eventId, eventType and countryCode.

    The problem may be something my end for all I know, but just in case there is anything obvious I could try or check thought i'd ask for any suggestions and introduce myself!

    Cheers,
    Nic
Working...
X