[Bug] Auth.current_user hangs when connected to WiFi but don't have internet
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
- Ambito
- authentication, desktop
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
[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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di firebase/firebase-cpp-sdk
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
firebase/firebase-cpp-sdk#1905 · 2 commenti ·
-
api: firestore
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
firebase/firebase-cpp-sdk#1920 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
firebase/firebase-cpp-sdk#1904 · 1 commento ·
-
new type: question
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
firebase/firebase-cpp-sdk#1892 · 1 commento ·
-
nightly-testing
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
firebase/firebase-cpp-sdk#1859 ·
Tutte le issue di firebase/firebase-cpp-sdk
Issue simili
-
[CI] Nightly Clang build broken: structured binding captured in a lambda in FileDataSource.cpp Apertabug build
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Apertafuzz
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
module/agent platform/macos type/bug/regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement PyCDE
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100