Получение службы 503 недоступно - Firebase Remote config - PullRequest
1 голос
/ 04 апреля 2019

Я начал получать сообщение о недоступности службы 503 от firebase при извлечении значений удаленной конфигурации.

Fetch failed! Server responded with an error.
com.google.android.gms.internal.firebase_remote_config.zzd: 503 Service Unavailable
{
  "code": 503,
  "errors": [
    {
      "domain": "global",
      "message": "The service is currently unavailable.",
      "reason": "backendError"
    }
  ],
  "message": "The service is currently unavailable.",
  "status": "UNAVAILABLE"
}

У меня есть план блейз-пожарной базы, и эта ошибка постоянно появляется.Я думаю, что он начал поступать после обновления до последней библиотеки удаленной конфигурации Firebase.

long cacheExpiration = 4800;
    if (firebaseRemoteConfig.getInfo().getConfigSettings().isDeveloperModeEnabled()) {
        cacheExpiration = 2;
    }
    firebaseRemoteConfig.fetch(cacheExpiration)
            .addOnCompleteListener(this, task -> {
            })
            .addOnFailureListener(e -> {

            });

Текущие зависимости Firebase, которые я сейчас использую,

  implementation 'com.google.firebase:firebase-config:16.4.1'
  implementation 'com.google.firebase:firebase-messaging:17.5.0'
  implementation "com.google.android.gms:play-services-auth:16.0.1"
  implementation 'com.google.firebase:firebase-storage:16.1.0'
...