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

[Bug]: iOS still shows "Failed to connect. Retrying" on every resume (follow-up to #5695)

オープン 初心者向け
#17,560 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, typescript
領域
mobile

調査の方向性

ラベルのロジックは apps/mobile/src/features/threads/floating-working-status.ts にあります。connectionError が null でない場合、「Reconnecting to ...」の代わりに「Failed to connect」を表示します。アプリ再開時に connectionError がどこで設定され、どこでクリアされるかを確認してください。報告では、サスペンド中に切断されたソケット由来の古い値が残っているのではないかと疑われています。完了の条件は、再開されたセッションが再接続中に再接続の文言を表示すること、そして再接続が実際に失敗したときには失敗の文言が引き続き表示されることです。

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

説明

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/mobile

Steps to reproduce
  1. Open a thread in the iOS app, connected to an environment through T3 Connect.
  2. Put the app in the background for a minute or so.
  3. Open it again.
Expected behavior

A neutral Reconnecting to <env>... while it reconnects. This is the same thing #5695 asked for, but that one is closed and locked so I can't comment there.

Actual behavior

Pretty much every time I come back to the app, the pill says Failed to connect. Retrying <env>... for a second or two, and then it connects fine.

I checked the server side and the reconnect goes through on the first try every time (auth succeeds, socket is up in about 2s), so nothing is actually failing, it's just the wording.

The copy is still in apps/mobile/src/features/threads/floating-working-status.ts on v0.0.45. If connectionError isn't null it shows the "Failed to connect" label instead of "Reconnecting to ...", and I think after a resume it's still set from the socket that got dropped while the app was suspended.

Impact

Cosmetic issue

Version or commit

Server 0.0.45 (stable), iOS app from the App Store

Environment

iPhone, server on Linux x64 connected through T3 Connect

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
12時間 40分
マージ済み PR(30日)
322

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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