err_connextion_reset

nassim
Posts: 1
Joined: Sun Apr 29, 2018 1:55 pm

err_connextion_reset

Postby nassim » 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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: err_connextion_reset

Postby kolban » Mon Apr 30, 2018 3:56 am

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: err_connextion_reset

Postby ESP_Sprite » Mon Apr 30, 2018 2:07 pm

Moved to the Arduino subforum.

Who is online

Users browsing this forum: No registered users and 134 guests