MKR 1000 not connecting to Blynk

I am using an Arduino MKR 1000 with Blynk, but it keeps saying that it is connecting to blynk cloud. com, and nothing happens.

This what it says in the Serial Monitor:
[1713] Connecting to blynk cloud. com:80
[22022] Connecting to blynk-cloud .com:80
[42030] Connecting to blynk-cloud. com:80
[62038] Connecting to blynk-cloud. com:80

This is my code:

Note: pass, ssid, and auth token are filled out correctly
Also, the #include <BlynkSimpleMKR1000.h> is black and not orange like the other includes, so that may have something to do with the error

#define BLYNK_PRINT Serial

#include <SPI.h>
#include <WiFi101.h>
#include <BlynkSimpleMKR1000.h>

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

// 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, "blynk-cloud. com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);

void loop()

Hi Praneeth, have you ever succeeded in resolving the issue? I have the same problem and I can’t find the solution to it. Thank you very much!

@richtersson I’d suggest that you start a new “need help with my project” topic and provide as much details as possible.

The Blynk Legacy servers at have been decommissioned, as Blynk Legacy has been retired, so a resolution to this issue is impossible.

I’d suggest that you migrate to Blynk IoT, which uses the new cloud server at instead.

I’m closing this topic as it is no longer relevant to the current version of Blynk.