Can't connect to blynk-cloud anymore

Hello Blynk team. It all happened in a span of 10 days, everything was running smoothly, all my Blynk projects would run normally, but one fine day every thing stopped. My Blynk app suddenly vanished and I had to reinstall it to get going. But my hard luck, may be because of that update it stopped working ( Blynk v2.20.3). Currently I am working with Blynk library version 0.5.2 on my windows 10 laptop and Android 6.0.1. I have two WiFi networks, one broadband at home and another in my college, was able to connect to both of these networks earlier. I am using ESP32 Dev Module to send DHT22 Temperature and Humidity values to Blynk-cloud.

This is the code:

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

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

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth [] = "437d914f907946609c4b970929013bea";

// Your WiFi credentials.
// Set password to "" for open networks.
//char ssid [] = "ECMESH";
//char pass [] = "IDontKnowNow";
char ssid [] = "Tenda_285298";
char pass [] = "avniatharv@2017";

#define DHTPIN 2          // What digital pin we're connected to

// Uncomment whatever type you're using!
//#define DHTTYPE DHT11     // DHT 11
#define DHTTYPE DHT22   // DHT 22, AM2302, AM2321
//#define DHTTYPE DHT21   // DHT 21, AM2301

BlynkTimer timer;

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendSensor()
  float h = dht.readHumidity();
  float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit
Serial.print ("The current Humidity is =");
Serial.print (h);
Serial.println (" %");
Serial.print ("The current Temperature is =");
Serial.print (t);
Serial.println ("degrees C" );
  if (isnan(h) || isnan(t)) {
    Serial.println("Failed to read from DHT sensor!");
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  Blynk.virtualWrite (V5, h);
  Blynk.virtualWrite (V6, t);

void setup()
  // Debug console

  Blynk.begin (auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin (auth, ssid, pass, "", 8442);
  //Blynk.begin (auth, ssid, pass, IPAddress(192,168,1,100), 8442);


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

void loop()

I get this message in serial print:

[7082] Connected to WiFi
[7082] IP:
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.5.2 on ESP32

[7150] Connecting to
[9204] Login timeout
[12204] Connecting to
[17218] Connecting to
[22227] Connecting to
[24234] Login timeout
[27234] Connecting to
[29241] Login timeout
[32241] Connecting to
[34247] Login timeout
[37247] Connecting to
[39253] Login timeout
[42253] Connecting to
[47259] Connecting to
[52266] Connecting to
[54272] Login timeout
[57272] Connecting to
[59278] Login timeout
[62278] Connecting to

I am unable to find the reason why I am not able to connect to Blynk.
I tried with Blynk libraries with other versions (0.5.0&0.5.1) but it didn’t help.
Any help would be appreciated. Thank you

Please don’t PM other users with general assistance requests.

And I fixed your code formatting. as is required in the instructions…

I don’t think that there is any issue with hardware(esp32) because I used NodeMcu(ESP8266-12E) but that also didn’t work.