Skip to content
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

not connecting/reconnecting issues #2

Closed
tzapu opened this issue Oct 5, 2015 · 5 comments
Closed

not connecting/reconnecting issues #2

tzapu opened this issue Oct 5, 2015 · 5 comments

Comments

@tzapu
Copy link
Contributor

tzapu commented Oct 5, 2015

hi
when i m using a wrong token i get into a re-connection loop stating that connection is authorized. Is there an event that we could use for when it fails and disable the loop maybe, or handle it in a more straightforward manner?
Cheers

Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
...
Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
Connecting to SSL: cloud.blynk.cc 8441
@vshymanskyy
Copy link
Owner

Authorized actually means SSL authorization.
We can fix it so that the script closes if Auth Token check fails.. Would it be ok?

@tzapu
Copy link
Contributor Author

tzapu commented Oct 10, 2015

yup, anything that would give me control over the retry connection or status of it would be perfect.
cheers

@tzapu
Copy link
Contributor Author

tzapu commented Oct 29, 2015

added a pull request to fix this
#8

@vshymanskyy
Copy link
Owner

Merged.

@vshymanskyy
Copy link
Owner

pushed to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants