Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

set hangs after connection lose #274

Open
@lanhnguyen2010

Description

@lanhnguyen2010

I have a program on ESP8266 to read and write data to FireBase.

Firebase.setString(lastTimePath, curTime);  
Serial.println("Save Connection Time to Firebase..");  
if (Firebase.failed()) { // Check for errors . 
    Serial.print("Cannot connect to Firebase...");  
    Serial.println(Firebase.error());  
    delay(1000);
}

When Internet is down (Wifi connection still there), I saw that Firebase.setString(lastTimePath, curTime) take about 10min before going to if function.
Anyone, please help: how can I reduce time-out for writing data to FireBase?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions