err_connextion_reset
Posted: Sun Apr 29, 2018 2:05 pm
Hi,
I always get : err_connextion_reset
I tried to modify my code to solve "err_connexion_reset " but no way.
this code also doesn't work :
#include <WiFi.h>
#include <WiFiClient.h>
#include <ESP32WebServer.h>
ESP32WebServer server(80);
IPAddress apIP(192, 168, 1, 1);
void setup(void) {
WiFi.mode(WIFI_AP);
WiFi.softAPConfig(apIP, apIP, IPAddress(255, 255, 255, 0));
WiFi.softAP(ssid, password, 2);
/../
}
/...../
server.sendHeader("Cache-Control","no-cache, no-store, must-revalidate");
server.sendHeader("Pragma", "no-cache");
server.sendHeader("Expires", "-1");
server.setContentLength(CONTENT_LENGTH_UNKNOWN); // *** BEGIN ***
server.send(200, "text/html", "");
server.sendContent(content);
server.sendContent("");// *** END 1/2 ***
server.client().stop(); // *** END 2/2 ***
I need your help.
I always get : err_connextion_reset
I tried to modify my code to solve "err_connexion_reset " but no way.
this code also doesn't work :
#include <WiFi.h>
#include <WiFiClient.h>
#include <ESP32WebServer.h>
ESP32WebServer server(80);
IPAddress apIP(192, 168, 1, 1);
void setup(void) {
WiFi.mode(WIFI_AP);
WiFi.softAPConfig(apIP, apIP, IPAddress(255, 255, 255, 0));
WiFi.softAP(ssid, password, 2);
/../
}
/...../
server.sendHeader("Cache-Control","no-cache, no-store, must-revalidate");
server.sendHeader("Pragma", "no-cache");
server.sendHeader("Expires", "-1");
server.setContentLength(CONTENT_LENGTH_UNKNOWN); // *** BEGIN ***
server.send(200, "text/html", "");
server.sendContent(content);
server.sendContent("");// *** END 1/2 ***
server.client().stop(); // *** END 2/2 ***
I need your help.