Nodemcu esp 8266 error login timeout

Hello, im newbie at iot, this is my first time build a project, and im making a “internet lamp” with nodemcu, relay, and blynk

And then im uploading the sketch into my nodemcu, succesful but when i check it from serial monitor it always said this :
402250] Login timeout
[405250] Connecting to
[410588] Connecting to
[416015] Connecting to
[421442] Connecting to
[426971] Connecting to
[429296] Login timeout
[432296] Connecting to
[434621] Login timeout

And here is my code :

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

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

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

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(, 8080);

void loop()

I saw many thread from this website with the same issues like me, but they have a different solution, the first person he said solved by changing the dns, the 2 person said he change the network, and the 3 person said he change the isp port

Please somebody help me, im not an it guy and im so confuse with these issues

It’s possible that your ISP is blocking the Blynk traffic. Try it with another internet connection, maybe at a friend’s house.


1 Like

Solved thanks :grin: