Skip to content

[Bug] Auth.current_user hangs when connected to WiFi but don't have internet #1649

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
stevenbrix opened this issue Sep 19, 2024 · 0 comments

Comments

@stevenbrix
Copy link

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: open-source
  • Firebase C++ SDK version: latest?
  • Problematic Firebase Component: Auth
  • Other Firebase Components in use: Firestore
  • Platform you are using the C++ SDK on: Windows
  • Platform you are targeting: desktop

[REQUIRED] Please describe the issue here:

If you're connected to a WiFi that doesn't have internet, like at the airport or coffee shop (Starbucks is one), the Auth.current_user call hangs indefinitely.

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase C++ quickstarts ? I didn't try before i left the repro environment

What's the issue repro rate? 100%

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

If you set Arc as your default browser and try to connect to a WiFi that doesn't have internet, it will hang until connected to internet.

This issue doesn't reproduce simply when not connected to internet. Which is very problematic for a browser where folks need to authenticate to the WiFi before they can get internet.

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

https://releases.arc.net/windows/ArcInstaller.exe

Relevant Code:

auto user = Auth.current_user()

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants