relay fails to register with web - web resets the connection
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, docker-compose
- 領域
- devops, infrastructure
調査の方向性
install.sh と docker compose up -d で再現し、その後 /api/0/relays/register/response/ 周辺の relay ログを調べる。接続リセットを relay issue 1096 と比較し、web コンテナがリクエストを受信しているか確認する。relay の登録が成功し、Sentry が受信したレポートを処理できれば完了とする。
索引モデルが issue の本文から書いたものです。
説明
Self-Hosted Version
25.10.0
CPU Architecture
x86_64
Docker Version
29.1.3
Docker Compose Version
5.0.0
Machine Specification
- My system meets the minimum system requirements of Sentry
Installation Type
Was fresh install some time ago (23.something?), then upgraded to 25.10
Steps to Reproduce
- Run
./install.sh - Run
docker compose up -d - Run
docker compose logs -n 100 -f relay
Expected Result
Sentry to be up and running, processing incoming reports.
Actual Result
Sentry starts and the Web UI is fully usable.
relay repeatedly fails to register with the error
relay-1 | 2025-12-15T19:51:26.067553Z ERROR relay_server::services::upstream: authentication encountered error error=could not send request to upstream error.sources=[error sending request for url (http://web:9000/api/0/relays/register/response/), client error (SendRequest), connection closed before message completed] tags.attempts=20
This looks exactly like https://github.com/getsentry/relay/issues/1096
While I don't want to upload the pcap I took in case it contains secrets, the web node resets the connection to relay 3ms after it sends the register/response HTTP call as seen in the below screenshot of the pcap:
It seems this isn't completely uncommon by the issue raised on Relay several years ago that was never fixed.
The HTTP call to /api/0/relays/register/response/ is never logged by the web container at all.
Event ID
No response
- 主要言語
- Shell
- スター
- 9.7k
- フォーク
- 2k
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/self-hosted のほかの issue
-
Waiting for: Product Owner
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/self-hosted#4644 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
getsentry/self-hosted#4518 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Product Owner
難易度 3/5 1〜2日 初心者へのやさしさ 73/100
getsentry/self-hosted#4642 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Community
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
getsentry/self-hosted#4637 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Product Owner
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
getsentry/self-hosted#4634 ·
メンテナーはふだん 2 日以内に返信
getsentry/self-hosted の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ajithakdev/claude-desktop-rpm#43 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws/aws-networking-best-practices#256 ·
メンテナーはふだん 2 日以内に返信
-
area:terraform source:reader type:content-error
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
stephrobert/blog-roadmap#268 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100