Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By r4adi0GaX2
#86731 I've uploaded this program on a D1 mini Lite (ESP8266) and a NodeMCU:

Code: Select all#include <WiFi.h>

char ssid[] = "...";
char password[] =  "Day272020?";

const uint16_t port = 8999;
const char * host = "";

void setup()


  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {

  Serial.print("WiFi connected with IP: ");


void loop()
  WiFiClient client;

  if (!client.connect(host, port)) {

    Serial.println("Connection to host failed");


  Serial.println("Connected to server successful!");

  client.print("Hello from ESP32!");



and I get the same error with the 2 boards...

Code: Select all ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0

I've tried different ports and different computers... nothing changes.
User avatar
By btidey
#86735 This is a standard watchdog reset caused when the watchdog timer is not fed for a period.

Don't use a huge delay all in one go ( delay(10000) ).

If you need a long delay then break it up into smaller chunks like delay(1000) in a 10 times loop. This ensures the watchdog is periodically fed.

Note that this sort of question should really be asked in one of the other topic areas. I think bug reports should really be used for bugs that you have found in the development environment