MKR1000 Stuck on "Connecting to mqtt broker..."

I’m trying to follow the sensor tower example provided on the Arduino Cloud Examples.

When I run the sketch on the MKR1000, it prints “connecting to mqtt broker…” and then stops.

I did some research and found a few other people with the same problem but no solid solutions.

Not sure if its something with my network being an extender for another network, I am missing a package etc.

// WiFi101 - Version: Latest 
#include <WiFi101.h>

/*
* This is the official code for Charles Conrad's and Jacob Schwarzenberger's 2017 Contra Costa Country Science and Engineering Fair.
* This is designed to work with the Arduino MKR1000 and a magnetic hall effect sensor using a digital input and the Arduino cloud powered by Amazon Web services
*/

//Imports
#include <ArduinoCloud.h>
#include <SPI.h>
#include <WiFiSSLClient.h>


// Digital Readouts
const int sensorPin = 2;
int sensorDigitalValue = 0;

// Arduino Cloud Settings and Credentials
const char userName[]  = "Bernstern";
const char thingName[] = "ArduinoAlpha";
const char thingId[]   = "05389781-b06b-4c98-a877-2f5f402b9311";
const char thingPsw[]  = "963587f5-2b22-4454-9c5a-5d361cfdd085";

// Wifi Credentials
char ssid[] = "ConradHouse_EXT";     
char pass[] = "Mittens1"; 
int status = WL_IDLE_STATUS;     

// SSL Client 
WiFiSSLClient sslClient;

// build a new object "ArduinoAlpha"
ArduinoCloudThing ArduinoAlpha;

void setup() {
    //Initialize serial and wait for port to open:
    Serial.begin(9600);
    while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
    }
    
    // check for the presence of the shield:
    if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while (true);
    }
    
    // attempt to connect to WiFi network:
    while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
    // unsuccessful, retry in 4 seconds
    Serial.print("failed ... ");
    delay(4000);
    Serial.print("retrying ... ");
    
    // wait 10 seconds for connection:
    delay(10000);
    }
    
    // you're connected now, so print out the data:
    Serial.print("You're connected to the network");
    printCurrentNet();
    printWiFiData();
    
    ArduinoAlpha.begin(thingName, userName, thingId, thingPsw, sslClient);
    ArduinoAlpha.enableDebug();
    // define the properties
    ArduinoAlpha.addProperty("sensorDigitalValue", INT, R);  
    Serial.println("Arduino Cloud init done!");

}

void loop() {
    sensorDigitalValue = digitalRead(sensorPin);

    printCurrentNet();
    
    ArduinoAlpha.poll();
    
    ArduinoAlpha.writeProperty("sensorDigitalValue", sensorDigitalValue);
}

void printWiFiData() {
  // print your WiFi shield's IP address:
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);
  Serial.println(ip);

  // print your MAC address:
  byte mac[6];
  WiFi.macAddress(mac);
  Serial.print("MAC address: ");
  Serial.print(mac[5], HEX);
  Serial.print(":");
  Serial.print(mac[4], HEX);
  Serial.print(":");
  Serial.print(mac[3], HEX);
  Serial.print(":");
  Serial.print(mac[2], HEX);
  Serial.print(":");
  Serial.print(mac[1], HEX);
  Serial.print(":");
  Serial.println(mac[0], HEX);

}

void printCurrentNet() {
  // print the SSID of the network you're attached to:
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  // print the MAC address of the router you're attached to:
  byte bssid[6];
  WiFi.BSSID(bssid);
  Serial.print("BSSID: ");
  Serial.print(bssid[5], HEX);
  Serial.print(":");
  Serial.print(bssid[4], HEX);
  Serial.print(":");
  Serial.print(bssid[3], HEX);
  Serial.print(":");
  Serial.print(bssid[2], HEX);
  Serial.print(":");
  Serial.print(bssid[1], HEX);
  Serial.print(":");
  Serial.println(bssid[0], HEX);

  // print the received signal strength:
  long rssi = WiFi.RSSI();
  Serial.print("signal strength (RSSI):");
  Serial.println(rssi);

  // print the encryption type:
  byte encryption = WiFi.encryptionType();
  Serial.print("Encryption Type:");
  Serial.println(encryption, HEX);
  Serial.println();
}

Thank you!