ESP32 device keeps resetting connection with Blynk cloud

Hello, I have ESP32 device and I’m trying to connect it to my Blynk. Yesterday it was working well. I reset my Blynk projects and devices but now when I try to connect it again, using quickstart with Arduino IDE, up-to-date blynk libraries, it keeps resetting itself, with this error message in log:
Connecting to blynk.cloud:80
Ready (ping: 327ms).
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
and it reconnects itself again. In my blynk devices page it goes offline and online. How can I solve this?. I’m not pressing the reset buttons or pins and my board works well.

Have you made any changes to the watchdog sketch?

Exactly which version of the Blynk library are you using, and which version of the ESP32 core?

Have you tried all the normal stuff like rebooting your router, using a different USB power cable etc?

Pete.

Hello, I’m not sure I’ve made changes to the watchdog sketch.

/*************************************************************

  This is a simple demo of sending and receiving some data.
  Be sure to check out other examples!
 *************************************************************/

/* Fill-in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID           "xxxx"
#define BLYNK_TEMPLATE_NAME         "Quickstart Template"
#define BLYNK_AUTH_TOKEN            "xxxx"

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "myssid";
char pass[] = "mypassword";

BlynkTimer timer;

// This function is called every time the Virtual Pin 0 state changes
BLYNK_WRITE(V0)
{
  // Set incoming value from pin V0 to a variable
  int value = param.asInt();

  // Update state
  Blynk.virtualWrite(V1, value);
}

// This function is called every time the device is connected to the Blynk.Cloud
BLYNK_CONNECTED()
{
  // Change Web Link Button message to "Congratulations!"
  Blynk.setProperty(V3, "offImageUrl", "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations.png");
  Blynk.setProperty(V3, "onImageUrl",  "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations_pressed.png");
  Blynk.setProperty(V3, "url", "https://docs.blynk.io/en/getting-started/what-do-i-need-to-blynk/how-quickstart-device-was-made");
}

// This function sends Arduino's uptime every second to Virtual Pin 2.
void myTimerEvent()
{
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  Blynk.virtualWrite(V2, millis() / 1000);
}

void setup()
{
  // Debug console
  Serial.begin(115200);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
  // You can also specify server:
  //Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, "blynk.cloud", 80);
  //Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, IPAddress(192,168,1,100), 8080);

  // Setup a function to be called every second
  timer.setInterval(1000L, myTimerEvent);
}

void loop()
{
  Blynk.run();
  timer.run();
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!
}

I’m just editing my ssid and password to connect the WiFi. There isn’t a problem with it.
Blynk Library Version is 1.2.0
My board is ESP32-WROOM32 and Node32S is selected at Arduino IDE.

There wasn’t any problem yesterday but now it just resets itself.

Sorry, I was writing one thing and thinking another, which didn’t come out correctly.
I meant to ask if you’ve made any changes to the Quickstart sketch.

The Watchdog reference was because youre error relates to the Watchdog Timer (WDT) and I was wondering if you’ve added some blocking delays to your code that could cause this - but you haven’t.

You haven’t answered this question…

Go to Tools > Board > Boards Manager and search for ESP32 and tell us which version is installed.

And, you didn’t answer this question either…

Pete.

My ESP core is 2.0.7 .

Yes, I’ve tried all these steps. I also tried connecting with different ISP, but it doesn’t help either.