relay fails to register with web - web resets the connection

Aperta
#4,103 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, docker-compose

Direzione di ricerca

Riprodurre con install.sh e docker compose up -d, quindi esaminare i log di relay relativi a /api/0/relays/register/response/. Confrontare il reset della connessione con relay issue 1096 e verificare se il contenitore web riceve la richiesta. Il lavoro è completato quando relay si registra correttamente e Sentry elabora i report in arrivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Category: Docs
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
  1. Run ./install.sh
  2. Run docker compose up -d
  3. 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:

Screenshot of 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

Lingua principale
Shell
Stelle
9.7k
Fork
2k
Merge medio
3g 2h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/self-hosted

Tutte le issue di getsentry/self-hosted

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.