Firebase Token Expires avery 1 hour #319
Locked
AlvaroVelloso
started this conversation in
General
Replies: 2 comments 2 replies
-
The token was renew or refresh automatically when Then you should call |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, I tried this also try 1: Firebase.ready(); in loop result: After this esp not responding |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
How should I deal with Firebase token expiration?
I notice that every 1 hour the device Wemos D1 Mini (clone) loses the connection with Firebase and I had never experienced that issue before. I had assumed the token would be automatically renewed every 55 minutes or so.
Now I'm rebooting the device as soon as I realize there's a connection error, that occurs every 1 hour.
IDE: 1.8.16
LIB: Firebase EPS8266 Client 3.9.5
ESP8266 Arduino Core SDK: 3.0.3
Authentication: auth.user.email, auth.user.password, Firebase.begin(&config, &auth);
Config:
config.max_token_generation_retry = 5;
Firebase.reconnectWiFi(true);
Thank you for any advice.
Beta Was this translation helpful? Give feedback.
All reactions