You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) #384
Firebase network exception is showing in craslytics, not able to reproduce this error.
Exception: java.util.concurrent.ExecutionException: com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred.
at com.google.android.gms.tasks.Tasks.zzb(Unknown Source:61)
at com.google.android.gms.tasks.Tasks.await(Unknown Source:23)
at com.xxxx.android.authentication.Firebase.getAuthDetail(SignInActivity.kt:40)
at com.xxx.android.webview.WebViewActivity.getToken(WebViewActivity.kt:1150)
at com.xxx.android.webview.WebAppInterface.getToken(WebAppInterface.kt:320)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:326)
at android.os.Looper.loop(Looper.java:160)
at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred.
at com.google.firebase.auth.api.internal.zzds.zzb(Unknown Source:15)
at com.google.firebase.auth.api.internal.zzew.zza(Unknown Source:11)
at com.google.firebase.auth.api.internal.zzeo.zzc(Unknown Source:33)
at com.google.firebase.auth.api.internal.zzep.onFailure(Unknown Source:49)
at com.google.firebase.auth.api.internal.zzdy.dispatchTransaction(Unknown Source:18)
at com.google.android.gms.internal.firebase_auth.zzb.onTransact(Unknown Source:12)
at android.os.Binder.execTransact(Binder.java:752)
Reacted by Maciej Olko, Yomi, coder and Chandler Cheng
Everything works fine, but in a few weeks this error occurs
Clear cache, clear data and reinstall app doesn't helps.
firebase auth version 16.0.4 (the same on 17.0.0)
play services auth version 16.0.1
Reacted by Maciej Olko, Chandler Cheng and Ali Mozhdekanlou
when device login successfully,then don't do anything or power off,after 1 hour(or long time,I think local idToken is out of date),this error will happen.
my code is:
I've just got this error true. I haven't changed this part of the code for quite a while (somewhere around a month) and it was working before. I revisit it today to go through the full app flow and get this error. I've already checked if google play is running etc. as I first thought perhaps the server is down …
My react app has this after sign in and sign out once OR closing the sign in popup. It seems to be a cool down?!!! Still looking for answers.
This is where the error was throw from in nexttick.js
goog.async.throwException = function(exception) {
// Each throw needs to be in its own context.
goog.global.setTimeout(function() { throw exception; }, 0);
};
Activity
google-oss-bot commentedon Apr 29, 2019
I found a few problems with this issue:
mistreckless commentedon May 14, 2019
Same error. I really have no idea how to fix this. The error occurs most often on Xiaomi devices.
Approximate steps to reproduce:
Clear cache, clear data and reinstall app doesn't helps.
firebase auth version 16.0.4 (the same on 17.0.0)
play services auth version 16.0.1
candrwow commentedon Jul 17, 2019
when device login successfully,then don't do anything or power off,after 1 hour(or long time,I think local idToken is out of date),this error will happen.
my code is:
but when I change
getIdToken(false)togetIdToken(true),this error will not happen.my firebase auth version is 16~18.1.0,they all have this error.
hpols commentedon Aug 3, 2019
I've just got this error true. I haven't changed this part of the code for quite a while (somewhere around a month) and it was working before. I revisit it today to go through the full app flow and get this error. I've already checked if google play is running etc. as I first thought perhaps the server is down …
olonge commentedon Aug 12, 2019
Same here.
I'm getting this error on a Huawei MediaPad.
However, I am eventually able to log in after repeated attempts.
PS. I can't rule out a dodgy WiFi connection, though
artths commentedon Nov 1, 2019
Also having this.
FibreOptics commentedon Dec 13, 2019
My react app has this after sign in and sign out once OR closing the sign in popup. It seems to be a cool down?!!! Still looking for answers.
This is where the error was throw from in nexttick.js
ashwinraghav commentedon Jun 9, 2020
Thanks for your patience on this.
ashwinraghav commentedon Jun 26, 2020
Closing since the issue seems largely inactive
Ranindu15 commentedon Jul 26, 2020
same issue here. Any solution for this>