-
Notifications
You must be signed in to change notification settings - Fork 41
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
[Bug] An internal error has occurred on Authentication #1220
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hey @RafaelGomes00, thanks for reaching out. So far, I've checked our quickstart for Auth and the Could you double check if you've added the |
Hello, I double checked it and I have the google-services.json under Assets > Streaming Assets, and also tested outside that scope wich gave me the same error. I will check using the sample on quickstart for Auth to see if it works |
I created a new project with only Firebase Auth installed, and used this code to log in:
Wich gave me the same error |
Thanks for trying that out. I have a couple more questions, just to make sure we check everything. Do you have the initialization code for Firebase before calling Auth?
Also is the Sign-in provider for Do you have firewall enabled? If so, you could try whitelisting these endpoints:
So far, I don't see any service disruption in our status dashboard, so I'm guessing it's not an issue on the backend. |
About Initialization, I use the same code as you showed, with the only exception that I dont have the "InitializeFirebase()" method. And the Firewall, as I couldnt find how to add these endpoints into windows firewall, I disabled it entirely for testing, and it didnt work as well. This issue has already been happening to me for about a week, so I dont think it's an issue on the backend of Firebase, as it would have a way bigger impact. |
Thanks for getting back to me quickly. Got it, atleast we can cross out it being a network related issue. We might need to better error code to investigate this, Could you do the following steps:
For context, this vague error message is due to email enumeration protection. This is usually enabled by default to avoid malicious actor attempts to guess or confirm users in a system by passing an email address to the API and checking the response. But for now, try disabling it and see if we can get more detail regarding the error, and test it again so we can see what error is being encountered. |
I disabled it and since I didnt know how much time it would take to update, I waited a few minutes, but the error I'm receiving the same:
Also thanks for helping me out with this problem. |
That is odd, does trying a different user email/password also result to the same behavior? Other than that, I don't know if there's anything else that could be causing this. But since I'm unable to reproduce this, it is difficult to say what's causing the behavior. That said, could you provide me an MCVE? |
Sorry for the delay, I was setting up another Firebase project for testing that I could send to you. |
Feel free to create a GitHub repo and share the link here. Make sure to remove any PII (Personally identifiable information). Update: I didn't notice that this issue was on the Windows platform. I was initially investigating an issue related to this #1191. I think both of these are related. Let me reach out to our engineers and have a closer inspection on our Firebase C++ SDK. |
Hello,
Also I tried updating my project to unity 6000,0,42f1 (LTS) but it didnt work. And after reading this issue you mentioned I will be testing switching dns and using VPN to see if it changes anything. |
Great news! |
That's good news, at least there's an alternative solution for now. Thanks for adding these additional details. I noticed one of the comments that the issue is related to gRPC.
In order to maintain a single line of communication. I'll close this thread as a duplicate for now. Feel free to continue your report in #1191, and please do leave a thumbs up on the author's post so we can monitor the severity while investigating. Thanks! |
Hey @RafaelGomes00, there was fix mentioned here. Could you try updating Windows 11 and see if the issue is still persistent? Thanks! |
Hi! I am using Windows 10, and after I used VPN that one time to login onto the project, it started working normally without needing to use it again. I can update to windows 11 and see if it works, but I can't guarantee that it would get any useful info, given that it already works normally without external tools. |
I also wanted to compact all the info I have regarding this problem:
|
These are very useful information, @RafaelGomes00. Thank you for sharing these! We're still not entirely sure what the issue is, but we'll keep an eye out for it. |
Description
I use the authentication system on Firebase on my project, and suddendly I started receiving this error:
My coworker managed to fix this problem for him just by reinstalling the Firebase SDK, wich did not worked for me.
What I have tried:
Reproducing the issue
I dont know exactly how to reproduce this issue, it suddendly started giving this error, with no connection to any commit, neither SDK update wich has not been made.
Firebase Unity SDK Version
12.7.0
Unity editor version
6000.0.3f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Authentication
Other Firebase Component(s) in use
Analytics, Firestore
Additional SDKs you are using
No response
Targeted Platform(s)
Android, Apple Platforms
Unity editor platform
Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand
Podfile.lock
snippet👀 Replace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: