-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase AUTHENTICATION_FAILED on some devices #1286
Comments
I found a few problems with this issue:
|
Hi @jehadmashhour , it would be better if you can report this issue by filing a Firebase Support ticket https://firebase.google.com/support, from there it will be easier for you to share your account information and credentials |
We have reported issue to google https://issuetracker.google.com/issues/143413382 and there is acknowledge by Google of problem: "We got information from Firebase support that this AUTHENTICATION_FAILED error is caused by GPS (Google Play Services) but fix date is not clear yet." |
We are also affected with a custom device without Play Services. |
I'm still seeing the AUTHENTICATION_FAILED failure on a Samsung S8 device using the latest google play api's according to the release notes: build.gradle (app level) Log: |
Any update in this issue as we are facing the failure in our solution? |
I'm still having the same issue , a one user who has the same issue said to me that he did reset device factory and the firebase issue is resolved !! , incredible . Please any help , we think the issue is related to the users devices , but we don't know exactly what is the reason . |
I think that they stopped supporting devices with no or old versions of play services...on my device without play services firebase-config stopped working with versions higher 19.1.0. Devices with play services or emulators have no problems... Sad that there is no information about that. |
I was think that , but after adding some logs to check the google play services is installed or not , and what is the version , I have noticed that these devices also have the same issue with the latest version. In addition , I have contacted a user who have the same issue and he said that his device has the latest google play services , but no avail . Why the issue is resolved by doing reset device factory !!!! |
Any update in this issue as we are facing the failure in our solution? |
Tried downgrading the libraries in my app build.gradle as suggested here and token retrieval in the app succeeded on a Samsung S8 device for one attempt: build.gradle (app level) After re-installing the app, I'm seeing the AUTHENTICATION_FAILED failure again which I reported previously. After seeing the failure on firebase-messaging:20.1.0 I retried with the latest versions of these APIs here and found that token retrieval succeeded for one attempt and then again I'm seeing the AUTHENTICATION_FAILED failure which I reported previously. |
I'm facing the same issue here. (Google Pixel 1st Gen. Android 10) Gradle dependencies: downgrading to |
Hi, We are facing similar issues on our App and this is blocking usage of App on many recent devices, including Google Pixel with latest version of Google play services on it Appreciate if we could have an ETA on this fix Best Regards, |
any update ? |
A few of the errors reported in this issue, particularly @pablo-leite-playkids, might be related to a new Firebase infrastructure service which was introduced in Firebase Android SDK updates on February 27 (M65) and afterwards introduced the Firebase Installations SDK which comes with a dependency on the Firebase Installations API. Errors during communication with the Firebase Installations API indicate invalid Firebase options or misconfigurations regarding the API key used in your application. Only those end-users are affected that installed your application after an update to the latest versions of Firebase SDKs, which might explain why only some devices are affected. To mitigate the issue
Just for clarificationMost of the errors reported in this issue are probably not related to the new infrastructure |
Closing this since there was no more update for over 3 weeks. |
Have same issue with
|
Guys, I don't know what you were smoking there, but this really should be fixed. I'm a newbie learning flutter and went through your official guide which links to https://firebase.google.com/docs/flutter/setup?platform=android . The example shown in the latter guide produces that very error. After going through several versions of Imagine someone not as persistent as me, they would've dumped both flutter and firebase had they encountered such an obstacle. And that's a "START UP" guide, not some advanced tech config manual. |
I'm seeing this issue in live among small percent of users. On top of that all problematic installations did successfully authorized using Firebase Auth (anonymous). One user report I've got recently shows that client was constantly getting this error since at least 1 July. I do not see any correlations between issue and "installations with new SDK".
Build:
|
I've got confirmation from user that factory-resetting device (Sony TV) solves this issue |
I can get firebase token after than android updates and google play services update |
It is something to do with the initialisation of the phone/device, maybe a duplicate or unwritten "android_id"
|
Same issue with Non-fatal Exception: java.io.IOException: AUTHENTICATION_FAILED
at com.google.firebase.iid.zzu.then(zzu.java:16)
at com.google.android.gms.tasks.zze.run(zze.java:5)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at com.google.android.gms.common.util.concurrent.zza.run(zza.java:6)
at java.lang.Thread.run(Thread.java:764) Dependencies: |
I am using
|
Could yours info with trouble device be similiar? |
I am getting error in all devices but locally debug app works fine. |
same here on some of our devices, factory reset fixed the problem. BUT WHY? |
I solved this in the past, You are re-making an android_id when you factory reset.
|
thanks @adamseoul , how do I generate this value: 7355de1e9e9670c5? BTW, the fact that Firebase depends on this android_id seems wrong.
|
Hiya, just change the values a little. |
ava.io.IOException: AUTHENTICATION_FAILED Same issue, is there any ETA for the issue from Google. |
Setting your version to |
@jameshmread in emulator? |
@jameshmread Can you share which API are you using, is it the FirebaseInstallations or the deprecated FirebaseInstanceId? |
@kururu-abdo both emulator and real devices
Disclaimer: I just added as a possible suggestion. I'm not exactly sure what is going on. |
Same issue here using flutter
|
I am receiving this error with several firebase test lab devices |
I have been receiving Failed sessions -> AUTHENTICATION_FAILED received
Now, what’s interesting is Google shut down C2DM long back in 2015. Also, if you visit the API link, the following is found, wherein it mentions
IID tokens are used in providing the app instance's token https://iid.googleapis.com/iid/info/IID_TOKEN
Folks, any idea why calls to |
Same here, it seems if firebase installation is present, i.e.
Firebase Remote Config will depend on this guy. On some devices, such as FireTV as we tested, Firebase Installations wasn't able to make the API call (403). Eventually Firebase Remote Config wasn't working at all. Our fix was just to remove that firebase-installations dependency, which was somehow there for no reason. I think if Firebase Installations is not working, it should fallback where as if Firebase Installations doesn't exist. |
Closing this as the original issue appears to have been solved. It's unclear whether the other reports added to this issue have the same root cause or are unrelated. For issues that are not related, a new issue should be opened, using the issue template with all of the information added. For the questions on AUTHENTICATION_FAILED, this usually means that the device does not have a valid registration (Android ID). Factory resetting the device causes the Android ID to be reset and it will try to register the new ID, so this may be why that fixed it in those cases. Also note that FirebaseInstanceId requires Google Play services to create a token and it will fail on devices without it. |
I use the Firebase remote config SDK , i have noted that on some devices (nearly 15 users) that the Firebase SDKs not working .
The error message is : Failed to get Firebase Instance ID token for fetch
The log shows the following error :
com.google.firebase.remoteconfig.FirebaseRemoteConfigClientException: Failed to get Firebase Instance ID token for fetch. at c.i.c.r.a.m.a(com.google.firebase:firebase-config@@19.1.1:30) at c.i.c.r.a.j.then(Unknown Source:4) at com.google.android.gms.tasks.zzf.run(Unknown Source:3) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:784)
Caused by: java.io.IOException: AUTHENTICATION_FAILED at c.i.c.m.P.then(com.google.firebase:firebase-iid@@20.0.2:7) at com.google.android.gms.tasks.zzd.run(Unknown Source:7) ... 3 more
Notes :
Some of devices have the same issue -> Huawei DUB-LX1 , HUAWEI JKM-LX1 , Samsung SM-A750F , Samsung SM-J700H
Let me know if you need my google api key .
The text was updated successfully, but these errors were encountered: