ESP32 WiFi problem with connect to blynk.cloud platform

Hi everyone!

I’ve use a Quickstart guide, have succses ping to blynk.cloud from my ESP32 Dev Module with WiFi,
but my board doesn’t connect on web version blynk.cloud.

I’ve use Arduino IDE 1.8.19, Blynk Library 1.0.1

Here is an example:

// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID           "TMPLV78xHIYT"
#define BLYNK_DEVICE_NAME           "Quickstart Device"
#define BLYNK_AUTH_TOKEN            "C---------------------------------e"


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


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

char auth[] = BLYNK_AUTH_TOKEN;

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

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);
  // You can also specify server:
  Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
  //Blynk.begin(auth, 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!
}

As you can see, board have a ping to blynk.cloud:80

[18752] Connecting to blynk.cloud:80
[19382] Ready (ping: 305ms).
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
[34] Connecting to Ses
[1655] Connected to WiFi
[1655] IP: 172.20.10.12
[1655] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.4.8 on ESP32

[5001] Connecting to blynk.cloud:80
[5724] Ready (ping: 305ms).
[11442] Connecting to blynk.cloud:80
[12192] Ready (ping: 316ms).
[17791] Connecting to blynk.cloud:80
[18421] Ready (ping: 305ms).
[24037] Connecting to blynk.cloud:80
[25077] Ready (ping: 305ms).
[30899] Connecting to blynk.cloud:80
[31528] Ready (ping: 305ms).

But doesn’t connect to Console!

Also been used VPN connecion. Doesn’t help…

Thank you!

You should update the library to the latest version (1.1.0), and remove the older ones manually.

Oh my God…i’m soooo dumb :laughing: Thank you very much!

1 Like