-
Notifications
You must be signed in to change notification settings - Fork 40
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] Cannot authenticate, SignInAnonymouslyAsync encountered an error: One or more errors occurred (An internal error has occurred.) #1191
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Just tried firebase 11.9.0 without success. |
Hey @LeonardoSilvaOsten, thanks for reaching out. You mentioned that this issue is reproducible by different users, is this issue solely on desktop version of the app? And only on Windows machine? We'll try and investigate this further, however I don't have a windows machine at present so I'll bring this up to our engineers to check if they can figure something out. |
Yes, randomly on some Desktop Windows Build and Unity Editor Windows. I use MacOS for over a year on this project and never got this either on build or editor. We have heard this issue from some of our users around December 2024. It happens on all 4 machines I tested on site. We never tried android or iOS. I tried to authenticate in a new unity and firebase project and still have the problem. |
This might help identify the issue: firebase/flutterfire#12725 |
So far using VPN is the only know solution. |
Thanks for the additional information, @LeonardoSilvaOsten. This is really interesting, if network is the problem, then the only solution I can think of is whitelisting endpoints for Firebase Authentication. Could you try whitelisting these endpoints and see if there's any difference:
Other than that, I'm not sure if there's anything we can change on the SDK side to support network related issues. |
Description
This started on my main project so I switched to the most basic project/code to perform a login but I'm still getting an error when trying to authenticate.
This doesn't happen on MacOS Build and Unity Editor.
It only happens on some Windows Build and Unity Editor.
I've tried on 4 machines where I work and it happens on all of them, also a lot of people who tried my game all over the world also faced it.
Already tried, reimport auth package, start a new firebase project, start a new unity project, reimport all, delete library, delete unity cache.
I really have no idea if it's network related but once it starts is 100% guarantee to keep not working.
Final Error
Reproducing the issue
How to reproduce:
Create a Firebase project, create a android app
Download google-services.json
Import google-services.json into unity, I tried put either it into the StreamingAssets or Root Assets
Create a empty unity project
import FirebaseAuth package
Open a empty scene
Add this script (The simples script possible)
Enter play mode
Firebase Unity SDK Version
Tried 12.2.0, 12.5.0, 12.6.0
Unity editor version
2022.3.42f1, Unity 6
Installation Method
.unitypackage
Problematic Firebase Component(s)
Authentication
Other Firebase Component(s) in use
Authentication
Additional SDKs you are using
No response
Targeted Platform(s)
Desktop
Unity editor platform
Windows
Scripting Runtime
Mono
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: