Firebase-arduino esp 8266 database connectivity error

I am getting run time error on serial port .i am able connect to my wifi router but unabale to connect my firebase database and the data is also not getting store in database

Mycode is FirebaseDemo_ESP8266

#include <ESP8266WiFi.h>
#include <FirebaseArduino.h>

// Set these to run example.
#define FIREBASE_HOST "https://xxxxxxxx.firebaseio.com/"

#define FIREBASE_AUTH "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

#define WIFI_SSID "xxxxxxxxx"

#define WIFI_PASSWORD "xxxxxxxxxx"

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

  // connect to wifi.
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
  Serial.print("connecting");
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }
  Serial.println();
  Serial.print("connected: ");
  Serial.println(WiFi.localIP());
  
  Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
}

int n = 0;

void loop() {
  // set value
  Firebase.setFloat("number", 42.0);
  // handle error
  if (Firebase.failed()) {
      Serial.print("setting /number failed:");
      Serial.println(Firebase.error());  
      return;
  }
  delay(1000);
  
  // update value
  Firebase.setFloat("number", 43.0);
  // handle error
  if (Firebase.failed()) {
      Serial.print("setting /number failed:");
      Serial.println(Firebase.error());  
      return;
  }
  delay(1000);

  // get value 
  Serial.print("number: ");
  Serial.println(Firebase.getFloat("number"));
  delay(1000);

  // remove value
  Firebase.remove("number");
  delay(1000);

  // set string value
  Firebase.setString("message", "hello world");
  // handle error
  if (Firebase.failed()) {
      Serial.print("setting /message failed:");
      Serial.println(Firebase.error());  
      return;
  }
  delay(1000);
  
  // set bool value
  Firebase.setBool("truth", false);
  // handle error
  if (Firebase.failed()) {
      Serial.print("setting /truth failed:");
      Serial.println(Firebase.error());  
      return;
  }
  delay(1000);

  // append a new value to /logs
  String name = Firebase.pushInt("logs", n++);
  // handle error
  if (Firebase.failed()) {
      Serial.print("pushing /logs failed:");
      Serial.println(Firebase.error());  
      return;
  }
  Serial.print("pushed: /logs/");
  Serial.println(name);
  delay(1000);
}

My Firebase database rules are:

{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null"
  }
}

Please help me as soon as possible.

Also posted at:
https://stackoverflow.com/q/45095295

And STOP CROSS-POSTING

pert:
Also posted at:
https://stackoverflow.com/q/45095295

The question is removed, and I have the same problem. Until now it worked very well and couple of days ago it just stopped working.
Has anybody ideas why?

resolved!!!
https://pt.stackoverflow.com/questions/233332/esp8266-parou-de-comunicar-com-firebase#comment478896_233332

library update

fix problem

more information

remove the "https: //" from the FIREBASE_HOST, it has to be this way "//xxxxxxxx.firebaseio.com"

mine works perfectly

1-Wemos D1
2-https://arduino-8b238.firebaseio.com/.json?print=pretty&auth= rSz4YI1pYRqHSQMsT2RGxhZ5dRnRmkNl2ROc firebase connection on web ok
3-wifi connection ok
4-but Firebase.failed()

firebase data can not send

my source code
#include <ESP8266WiFi.h>
#include <FirebaseArduino.h>

// firebase url
#define FIREBASE_HOST “arduino-8b238.firebaseio.com
#define FIREBASE_HOST “arduino-8b238.firebaseio.com/

//firebase realtime database token
#define FIREBASE_AUTH “rSz4YI1pYRqHSQMsT2RGxhZ5dRnRmkNl2ROc”
//Wifi adi
#define WIFI_SSID “xxx”
//Wifi Sifre
#define WIFI_PASSWORD “xxxxxx”
//Led pini
#define LED LED_BUILTIN
int say;
String hata;
void setup() {
pinMode(LED,OUTPUT);
digitalWrite(LED,0);
Serial.begin(9600);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print(“baglaniyor”);
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
}
Serial.println();
Serial.print("baglandi, ip: ");
Serial.println(WiFi.localIP());

Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);

}

void loop() {
// set string value
Firebase.setString(“message”, “hello world”);

if (Firebase.failed()) {
Serial.print(“setting /message failed:”);
Serial.println(Firebase.error());
delay(1000);
return;
}

delay(100);
}