-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscription stops and dosent restart #16
Comments
Hi @thoj can you set console logging to Particle just released v1.0.0 firmware for Core/Photon/P1/Electron with breaking changes to pub/sub. Have your devices upgraded to v1.0.0 when you experience the dropouts? The nodes have already followed the deprecation notices from the v0.8.0 firmware but this obviously needs a bit of monitoring. |
also refer to particle-iot/particle-api-js#95 |
@jbesselm checking for a non-null value will force a reconnect anytime an upstream message payload enters the node. Perhaps allowing just a If you can, please post your redacted node-red logs here (set debug level to trace), particularly around the moment your SSE disconnects. I've added some traces to check if abrupt stream disconnections are handled by the event listeners to the Particle JS API. |
I too have the issue of the SSE not being kept alive after a day or so. Looking forward to any suggestions on this issue. |
@GrantsPi thanks for the report; the key issue is related to particle-iot/particle-api-js#95. Until it gets resolved, I'll add a keepalive mechanism within the SSE node in the next patch release. |
v1.1.0 is released, which should hopefully address this issue. Upgrading via node-red palette. Please help to test and report back here, thanks. |
chuank, just to let you know that after 24 hours the SSE is still connected/reporting; will keep you posted over the next day or two. Thanks for the fix! |
Thanks for getting back @GrantsPi, I will keep track on my end too. Cheers |
Seems to work fine! Thank you! :) |
Still working well! Thank you. |
I seem to be getting this issue :( |
Hi
Seems like something is stopping the subscription and the subscription does not start again before i redeploy the flow.
Here I just redeployed the flow.
Here is the flow. Nothing fancy.
Any suggestions on what to do?
The text was updated successfully, but these errors were encountered: