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

[Bug]: T3 Connect link returns 504 Gateway Timeout from relay, client shows bare "failed"

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

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

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

評価

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

調査の方向性

RelayEnvironmentLinkErrors enum と、/v1/client/environment-links に対して POST するコードパス(Settings → Connections、T3 Connect フロー)を特定する — まずリポジトリ内で RelayEnvironmentLinkErrors を検索する。504 などの未処理の HTTP ステータスを型付きエラーにマッピングし、トーストに単なる "failed" ではなく relay のレスポンス body を表示できるようにする。完了条件は、そのエンドポイントからのモック 504 レスポンスによって relay の理由を含むメッセージが生成されることで、environment-link クライアントをカバーする既存テストを実行する。なお、上流の 504 自体は relay 側の問題であり、このリポジトリの管理下にはない点に注意。

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

説明

bug via-triage
Steps to reproduce
  1. T3 Code desktop 0.0.45 (Electron 44.4.2), macOS.
  2. Settings → Connections → enable T3 Connect for the local environment.
  3. The link challenge and the local link proof succeed; the final link request fails.
Actual behavior

Toast: "Could not update T3 Connect - https://relay.t3.codes/v1/client/environment-links failed", with no reason.

DevTools shows the relay itself answered the POST with 504 Gateway Timeout (application/json, 43 bytes), roughly 9-10 s after the request was sent. 504 is not in RelayEnvironmentLinkErrors, so the client drops the reason.

  • Trace ID (traceparent): 4684d7d140f34f0393d42744d240e207
  • cf-ray: a46cb3018961253d-JNB
  • Time: Wed, 07 Oct 2026 11:52:31 GMT
  • Three earlier attempts the same day, within about 5 minutes starting 10:55 UTC, failed the same way.
Expected behavior

The environment links, or the client shows the relay's reason.

Related: #14070, #14580

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

環境構築

Codespaces で開く

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

はじめの一歩

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

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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