mobizt / Firebase-ESP32

[DEPRECATED]🔥 Firebase RTDB Arduino Library for ESP32. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
414 stars 119 forks source link

Issue with token requesting #298

Closed Manuel-Savyak closed 8 months ago

Manuel-Savyak commented 8 months ago

im trying to connect my esp32 to a firebase realtime database do send some variables and it keeps printing this in the serial monitor: 10:53:34.168 -> Token info: type = id token (GITKit token), status = on request 10:53:39.164 -> Token info: type = id token (GITKit token), status = error 10:53:39.164 -> Token error: code: -4, message: connection lost

mobizt commented 8 months ago

That is the network (WiFi) connection problem.

Manuel-Savyak commented 8 months ago

That is the network (WiFi) connection problem.

i saw you solving a similar problem but i cant find the example the you said to use

mobizt commented 8 months ago

That is your network problem and you should fix it yourself.

mobizt commented 8 months ago

If you call Firebase.reconnectWiFi(true), the library will reconnect your WIFi using the saved WiFi credentials in flash once your device was disconnected from WiFi.