This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
[Investigation] SSE Stream Reconnection Problems #156
Labels
Comments
Looking at the eventsource library source, it binds
The reconnect interval default is 1000ms. The error messages we see are consistent with the additional error being emitted in |
Another one
|
suyashkumar
added a commit
that referenced
this issue
Aug 23, 2018
This should address #156 by creating a heartbeat timer that will reset the SSE connection to particle if a certain number of messages are not received every heartbeat interval.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes the SSE stream throws an error that it does not seem to recover from (because we'll stop receiving publish events.
Sample of logs below where we get a 502 from Particle (see the last 4 lines):
The text was updated successfully, but these errors were encountered: