Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,649 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Inizia riproducendo il blocco nei Firebase C++ quickstarts su Windows con accesso WiFi ma senza Internet, usando la chiamata Auth.current_user descritta nell'issue. Confronta questo comportamento con quello in condizioni completamente offline e ispeziona i punti di ingresso rilevanti del componente Auth. Il lavoro è completo quando la chiamata non rimane più bloccata indefinitamente nello scenario di captive portal e la regressione è coperta da un test riproducibile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

api: auth new type: question
[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()

Lingua principale
C++
Stelle
326
Fork
138
Merge medio
2g 16h
PR unite (30g)
3

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/firebase-cpp-sdk

Tutte le issue di firebase/firebase-cpp-sdk

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.