NodeMCU not coonecting to blynk servers

My NodeMCU 1.0 seems like it’s not able to connect to Blynk, so it keeps on looping the code. It connects to my router normally through normal esp8266 code and the same goes for the Blynk code, but it stops at connecting to blynk-cloud.com:80 and spits out a bunch of stuff.
my Blynk library version is 1.3.2
I tried connecting through a mobile hotspot and through a VPN but it didn’t help.
I saw several places that maybe adding “blynk-cloud.com”, 8080" to my Blynk.begin could help but the outcome stayed the same with or without it
This is my code, it’s a simple example sketch.

#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "blahblahblah"
#define BLYNK_TEMPLATE_NAME "blahblahblah"

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

char auth[] = "blahblahblah";
char ssid[] = "UFO";
char pass[] = "blahblahblah";

void setup()
{
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8080);
}

void loop()
{
  Blynk.run();
}

and it spits out this on the serial monitor:

?  
  9     i 4  [93] Connecting to UFO
[5423] Connected to WiFi
[5423] IP: 192.168.0.106
[5423] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v1.3.2 on ESP8266

 #StandWithUkraine    https://bit.ly/swua


[5549] Connecting to blynk-cloud.com:8080
[5606] Connecting to blynk-cloud.com:80

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

Exception (4):
epc1=0x40203180 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffe10 end: 3fffffd0 offset: 0160
3fffff70:  0000004f 000000bb 3ffeebf0 000015ac  
3fffff80:  0000464f 3ffeeb48 00000000 40201fd8  
3fffff90:  402076c0 6a00a8c0 feefeffe feefeffe  
3fffffa0:  feefeffe feefeffe feefeffe 3ffeed78  
3fffffb0:  3fffdad0 00000000 3ffeed4c 4020435c  
3fffffc0:  feefeffe feefeffe 3fffdab0 40100e75  
<<<stack<<<

then it loops with the same output every time.

blynk-cloud.com is the URL for the legacy cloud servers, which were decommissioned at the beginning of the year.

Change this to simply:

Blynk.begin(auth, ssid, pass);

or:

Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);

and it should work.

Pete.

1 Like

In both cases, it still gives out that same output on the serial monitor.

[5426] Connected to WiFi
[5427] IP: 192.168.0.106
[5427] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v1.3.2 on ESP8266

 #StandWithUkraine    https://bit.ly/swua


[5552] Connecting to blynk.cloud:80

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

Exception (4):
epc1=0x40203174 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffe00 end: 3fffffd0 offset: 0160
3fffff60:  0000464f 00000000 3ffeeb48 402012ed  
3fffff70:  00000000 000000bb 3ffeebf0 000015b0  
3fffff80:  0000464f 3ffeeb48 00000000 40201fd4  
3fffff90:  402076bc 6a00a8c0 feefeffe feefeffe  
3fffffa0:  feefeffe feefeffe feefeffe 3ffeed78  
3fffffb0:  3fffdad0 00000000 3ffeed4c 40204358  
3fffffc0:  feefeffe feefeffe 3fffdab0 40100e75 
<<<stack<<<

Hello Tstic!

Did you try select NodeMCU 0.9?

1 Like

What version of the ESP8266 core do you have installed?

What do you see if you run that error through the exception decoder?

Pete.

1 Like

I love you so much. Thank you, it worked.