[Bug] Auth.current_user hangs when connected to WiFi but don't have internet
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- authentication, desktop
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện tình trạng treo trong Firebase C++ quickstarts trên Windows khi có quyền truy cập WiFi nhưng không có Internet, sử dụng lệnh gọi Auth.current_user được mô tả trong issue. So sánh điều này với hành vi khi hoàn toàn ngoại tuyến và kiểm tra các điểm vào liên quan của thành phần Auth. Công việc được xem là hoàn tất khi lệnh gọi không còn treo vô thời hạn trong tình huống captive portal và hồi quy được bao phủ bằng một bài kiểm thử có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[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()
- Ngôn ngữ chính
- C++
- Star
- 326
- Fork
- 138
- Merge trung bình
- 2 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/firebase-cpp-sdk
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
firebase/firebase-cpp-sdk#1905 · 2 bình luận ·
-
api: firestore
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
firebase/firebase-cpp-sdk#1920 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
firebase/firebase-cpp-sdk#1904 · 1 bình luận ·
-
new type: question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
firebase/firebase-cpp-sdk#1892 · 1 bình luận ·
-
nightly-testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
firebase/firebase-cpp-sdk#1859 ·
Tất cả issue của firebase/firebase-cpp-sdk
Issue tương tự
-
[CI] Nightly Clang build broken: structured binding captured in a lambda in FileDataSource.cpp Đang mởbug build
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Đang mởfuzz
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/ClickHouse#122114 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
module/agent platform/macos type/bug/regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement PyCDE
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100