[RESOLVED] Particle+Blynk. Board can't connect to server and needs hard reset

1)Use next code:

#define BLYNK_PRINT Serial
#include "blynk/blynk.h"
char auth[] = "TOKEN";
void setup()
{
  Serial.begin(9600);
  delay(5000);
  Blynk.begin(auth);
}

void loop()
{
  Blynk.run();
}

2)Include Blynk library.
3)Flash code on the board(Particle Photon).
Result:
Blynk App show that board is offline.
Particle too:

Only helped to reboot the board.
Somebody have this issue?
Any ideas?

Dumb question, but you have replaced TOKEN with your actual Blynk token?

Of course. Re-check it many times and confirm that AUTH-Token is correct.
Use server: 45.55.96.146
If use GET http://45.55.96.146/AUTH-TOKEN(32 symbols)/pin/V6
Unswer is: Invalid token

1)Open Blynk App
2)Setup server:45.55.96.146
3)Login
4)Open project settings
5)Check TOKEN (the same in the GET request)

Hmm, that doesn’t look as if the token should work - invalid = not valid.

3 Likes

@ScruffR
May close.
Found server bug. For now is fixed.
After the certain actions Token autorefreshes(without user participation).
Project settings shows the old Token but project have a new token.
Thanks for help)