Black Lives Matter. Please consider donating to Black Girls Code today.

Can't connect to plotly's REST servers - school project

Hello! I hope somebody will be able to proved some insight in this matter - I cannot connect to plotly servers. The project is very simple and similar to the one provided at https://plot.ly/arduino/air-quality-tutorial/:

#include <WiFi.h>
#include “plotly_streaming_wifi.h”

//Sensor Setup
#define temperature_sensor_pin 0
#define nTraces 1
// View your tokens here: https://plot.ly/settings
char *tokens[nTraces] = {“jlcrc59oje”};
// arguments: username, api key, streaming token, filename
plotly graph(“achikha”, “********”, tokens, “Temperature Graph”, nTraces);

int status = WL_IDLE_STATUS; // the Wifi radio’s status
char ssid[] = “Net1”; // your network SSID (name)
char pass[] = “xxxxxxxx”; // // your network password

void wifi_connect(){
// attempt to connect using WPA2 encryption:
Serial.println("… Attempting to connect to WPA network…");
status = WiFi.begin(ssid, pass);
if (WiFi.status() == WL_NO_SHIELD) {
Serial.println(“WiFi shield not present”);
// don’t continue:
while(true);
}
// if you’re not connected, stop here:
if ( status != WL_CONNECTED) {
Serial.println("… Couldn’t get a WiFi connection, trying again");
wifi_connect();
}
// if you are connected, print out info about the connection:
else {
Serial.println("… Connected to network");
}
}

void printWifiData() {
// print your WiFi shield’s IP address:
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
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 setup() {
graph.maxpoints = 100;
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
wifi_connect();
printWifiData();
bool success;
success = graph.init();
if(!success){while(true){}}
graph.openStream();
}

void loop() {
int temperature_value = analogRead(temperature_sensor_pin);
graph.plot(millis(), temperature_value, tokens[0]);
delay(50);
}

The output in the serial monitor looks like this:

… Attempting to connect to WPA network…
… Connected to network
IP Address: 10.187.144.251
MAC address: 78:C4:E:2:5A:97
… Attempting to connect to plotly’s REST servers
… Couldn’t connect to plotly’s REST servers… trying again!

I’d be really happy for any help, cheers!!!

The Ardino IDE is 1.0.3