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_auth]: [firebase_auth/unknown-error] An internal error has occurred. (when calling signinwithemailandpassword on windows) #12725
Comments
UPDATE: I just got confirmation that it is network related. The same user was able to connect when using a VPN. It is Firebase Auth specific though, because Firestore and Sentry still work as mentioned. |
I get the same error, but the network is individual, not corporate. vpn does not help, the application has access to the Internet, other APIs are working fine |
Hello @Justus-M, thanks for reaching out, I couldn't reproduce the issue on our end with our example app. Could you provide a reproducible sample so I can have a look? |
Hi @Lyokone, thanks for your reply! Apologies if it wasn't clear from my post, but I am not able to provide a reproducible example as it only happens on certain networks (it was reported by 3 of my customers). There is nothing special about the code, it happens on any call of signInWithEmailAndPassword (and probably any other Firebase Auth network calls). @alkseiPV is able to reproduce it since it happens on his network. @Lyokone is there any troubleshooting or log checking/printing @alkseiPV can do to provide more valuable information? |
@alkseiPV Do you know if you have the same issue building the app on macOS and then using it on the same network? If you can get your hands on macOS and test this would help determine if the issue is with the C++ SDK (windows specific) or a more general issue. |
@Justus-M I didn't have time to wait, I went to another instrument, sorry |
@alkseiPV Do you have a mac? It would be really helpful if you could take 5 minutes to test this. I could even pay You can download my app and try to create an account with email and password https://www.blazesql.com/download |
@Justus-M I successfully registered and reached the moment of connecting the database. so the problem is in the Windows library. By the way, a nice interface |
@Lyokone Additionally, one of my customers said their network engineer found the issue, and it was something related to a token related to the following URL being blocked: "securetoken.googleapis.com" I hope that helps |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Windows
Description
When logging in on windows using signInWithEmailAndPassword, some users face the following error:
"[firebase_auth/unknown-error] An internal error has occurred."
This only seems to happen on corporate networks, so I imagine it has something to do with their system settings or the network configs, proxies, or certain requests being blocked.
One group of users had the issue on Windows 11 Enterprise, but I was able to run it successfully on the same OS. Another user had it on Windows 10 Pro, so I don't think it has anything to do with the version of windows.
The application does have an internet connection though, which I know because sentry and firestore are able to log these errors without any issues.
Unfortunately the error message is completely useless because it is so vague, and we have now lost 2 bigger customers because of this.
Reproducing the issue
I am not able to reproduce the issue as the common thread seems to be that the users are on corporate networks. I have tried using the same OS as one of the users who faced this error (windows 11 Enterprise), but was able to run it successfully. Firestore also seems to be working.
Here's what I know:
Flutter 3.19.1
firebase_core: ^2.29.0
firebase_auth: ^4.19.1
OS is windows (one user on windows 11 enterprise and one on windows 10 pro)
Error occurs when running FirebaseAuth.instance.signInWithEmailAndPassword
I know the code is fine because it works fine for the vast majority of users, and the same users that have the error are able to log on with other devices/networks.
Firebase Core version
2.29.0
Flutter Version
3.19.1
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: