Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,649 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp

調査の方向性

まず、WiFi 接続はあるもののインターネット接続がない Windows 上の Firebase C++ quickstarts で、issue に記載されている Auth.current_user 呼び出しを使ってハングを再現します。これを完全にオフラインの場合の挙動と比較し、Auth コンポーネントの関連するエントリポイントを調査します。完了条件は、キャプティブポータルのシナリオで呼び出しが無期限にハングしなくなり、回帰が再現可能なテストでカバーされていることです。

索引モデルが issue の本文から書いたものです。

説明

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()

主要言語
C++
スター
326
フォーク
138
平均マージ
2日 16時間
マージ済み PR(30日)
3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-cpp-sdk のほかの issue

firebase/firebase-cpp-sdk の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。