[GH-ISSUE #321] Why I can't configure WiFi settings after a timeout? #269

Closed
opened 2026-02-28 01:24:25 +03:00 by kerem · 2 comments
Owner

Originally created by @FernandoGarcia on GitHub (Feb 23, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/321

Hi!

After a timeout I can see the AP SSID and connect to it but I can't open the page (192.168.4.1) to configure.

The browser can't reach the page but local IP (192.168.4.2) and gateway (192.168.0.1) on laptop are fine.

This behavior is expected to this library?

I'm using this code:

void configWifi()
{
  WiFiManager wifiManager;
  wifiManager.setTimeout(180); // Entra em modo AP por 3 minutos.
  wifiManager.setDebugOutput(true); // Desativa mensagens de debug da biblioteca.

  if (!wifiManager.autoConnect("ESP8266", CLIENT_ID))// Nome e senha do ponto de acesso.
  {
#ifdef DEBUG
    Serial.println(F("Nao foi possivel conectar a rede WiFi, por favor  conecte-se ao ponto de acesso e tente novamente"));
#endif
  }
  else
  {
#ifdef DEBUG
    Serial.println(F("WiFi conectado"));
    Serial.print(F("Endereco IP: "));
    Serial.println(WiFi.localIP());
#endif
  }
}

I'm sorry if this question was answered previously but I can't find it.

Best regards.

Originally created by @FernandoGarcia on GitHub (Feb 23, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/321 Hi! After a timeout I can see the AP SSID and connect to it but I can't open the page (192.168.4.1) to configure. The browser can't reach the page but local IP (192.168.4.2) and gateway (192.168.0.1) on laptop are fine. This behavior is expected to this library? I'm using this code: ``` void configWifi() { WiFiManager wifiManager; wifiManager.setTimeout(180); // Entra em modo AP por 3 minutos. wifiManager.setDebugOutput(true); // Desativa mensagens de debug da biblioteca. if (!wifiManager.autoConnect("ESP8266", CLIENT_ID))// Nome e senha do ponto de acesso. { #ifdef DEBUG Serial.println(F("Nao foi possivel conectar a rede WiFi, por favor conecte-se ao ponto de acesso e tente novamente")); #endif } else { #ifdef DEBUG Serial.println(F("WiFi conectado")); Serial.print(F("Endereco IP: ")); Serial.println(WiFi.localIP()); #endif } } ``` I'm sorry if this question was answered previously but I can't find it. Best regards.
kerem closed this issue 2026-02-28 01:24:25 +03:00
Author
Owner

@FernandoGarcia commented on GitHub (Jan 26, 2018):

@tablatronix Why you are closing the issue without an answer?

<!-- gh-comment-id:360775249 --> @FernandoGarcia commented on GitHub (Jan 26, 2018): @tablatronix Why you are closing the issue without an answer?
Author
Owner

@mindforger commented on GitHub (Jan 26, 2018):

@FernandoGarcia he is closing old issues, because there were WAY too much open issues :) nothing personal

<!-- gh-comment-id:360785703 --> @mindforger commented on GitHub (Jan 26, 2018): @FernandoGarcia he is closing old issues, because there were WAY too much open issues :) nothing personal
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#269
No description provided.