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

BUG Token info: type = id token (GITKit token), status = on request #381

Closed
ThongNguyen182003 opened this issue Oct 18, 2023 · 1 comment

Comments

@ThongNguyen182003
Copy link

void setUpFirebase(){
config.api_key = API_KEY;
config.database_url = DATABSE_URL;
/Sign Up/
if(Firebase.signUp(&config, &auth, "", "")){
Serial.println("Sign up Firebase OK !!!");
signUp = true;
} else{
Serial.printf("%s\n", config.signer.signupError.message.c_str());
}
/-- Call Back --/
config.token_status_callback= tokenStatusCallback;

Firebase.begin(&config, &auth);
Firebase.reconnectWiFi(true);
}
void setup() {
pinMode(BUILTIN_LED, OUTPUT); // Initialize the BUILTIN_LED pin as an output
Serial.begin(115200);
dht.begin();
setup_wifi();
setUpFirebase();
client.setServer(mqtt_server, 1883);
client.setCallback(callback);
}

/* ------ EROROR ----------- */
Connecting to thong
..............
WiFi connected
IP address:
192.168.219.14

Token info: type = id token (GITKit token), status = on request
Token info: type = id token (GITKit token), status = error
Token error: code: 408, message: request timed out
Token info: type = id token (GITKit token), status = on request
/------------- Version ----------------/
mobizt/Firebase Arduino Client Library for ESP8266 and ESP32@^4.4.8

@ThongNguyen182003 ThongNguyen182003 added bug Something isn't working invalid wontfix labels Oct 18, 2023
@stale stale bot removed the wontfix label Oct 18, 2023
@mobizt mobizt removed bug Something isn't working invalid labels Oct 18, 2023
@mobizt
Copy link
Owner

mobizt commented Oct 18, 2023

This is the internet access problem, please check it.

@mobizt mobizt closed this as completed Oct 18, 2023
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