Page 1 of 1

err_connextion_reset

Posted: Sun Apr 29, 2018 2:05 pm
by nassim
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.

Re: err_connextion_reset

Posted: Mon Apr 30, 2018 3:56 am
by kolban
Howdy and welcome to the community.

You are likely going to want to move this post to the Arduino sub-forum.
For best results, surround your code in the code markup so it becomes easier to read.
You are likely going to want to post the exact error messages and other clues to describe the problem in more depth.

Re: err_connextion_reset

Posted: Mon Apr 30, 2018 2:07 pm
by ESP_Sprite
Moved to the Arduino subforum.