tuloski

Results 38 comments of tuloski

Unfortunately I'm a noob in JS...I'd make a total mess :)

It's not working very well. It continuously try to reconnect and disconnect in an infinite loop.

What I meant for loop, is that when it disconnects, it tries to reconnect but somehow it also try to disconnect in a continuous loop where it reconnects and immediately...

I pulled the network cable from the host running this library (my "hardware"). Aren't the three connect handlers making some mess, like trying to disconnect and so on?

From repo, latest commit (but it was the same 10-15 commits ago). I'm using public server.

See: https://github.com/vshymanskyy/blynk-library-js/issues/40

Switching to use plain TCP instead of SSL solves the crash, but still the app goes into a connect-disconnect loop. It seems that when it disconnects, it tries to reconnect...

More info here: https://community.blynk.cc/t/js-library-connect-disconnect-loop/24185

Are you sending other requests meanwhile? Because the cap is for all the request, not for a single call. And are you sure you are calling every 5s?