You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using private blynk server and python libs on Raspberry Pi.
Problem is that once network connection to the server is interrupted, so that heartbeat is missed, even after network connectivity is restored client doesn't return online and only way to restore it is to restart python script.
Steps to reproduce:
Setup private blynk server (same thing happens on Blynk Cloud server).
Use example script with logging.
After connection to server is established, interrupt somehow connectivity to the server (with firewall rule or by turning off router for 10 seconds).
Result is following:
Hi markom84!
Do you reproduce this with latest library version(version = '0.2.6') ?
As i remember such issue was fixed some time ago. Please see details #18
If you version under 0.2.6 ( you can get it just looking into library code header) please update it to latest version from github.
If issue reproducible on latest - please send me script code that you are running. Will try to investigate it.
I'm using private blynk server and python libs on Raspberry Pi.
Problem is that once network connection to the server is interrupted, so that heartbeat is missed, even after network connectivity is restored client doesn't return online and only way to restore it is to restart python script.
Steps to reproduce:
Setup private blynk server (same thing happens on Blynk Cloud server).
Use example script with logging.
After connection to server is established, interrupt somehow connectivity to the server (with firewall rule or by turning off router for 10 seconds).
Result is following:
As you can see, there is no any response from server (even though connection was interrupted only for short while).
In my opinion it should be detected that there is no response and reconnecting attempt should be made.
Anyway, if there is no way to fix this in library, is there a way to fix it in my python script?
The text was updated successfully, but these errors were encountered: