Webhook attempts fail with connection_reset when a reused keep-alive connection was closed by the destination
I maintainer di solito rispondono entro 3 giorni
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 67/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- backend, networking
Direzione di ricerca
Start in the webhook client where Go's http.Transport reuses idle connections and delivery attempts handle connection_reset. Trace how a failed attempt affects logging and the retry budget, then exercise the webhook delivery path with a destination that closes a reused connection. Done means the delivery is retried on a fresh connection without recording a failed attempt or consuming destination retry budget.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The webhook client keeps idle connections open and reuses them for later deliveries to the same destination (Go's default http.Transport, 90 s idle timeout). This saves a TCP and TLS handshake per delivery.
Sometimes the destination, or a proxy/CDN in front of it, has already closed an idle connection on its side. The next delivery is written to that connection and reset a few milliseconds later, before any response. Go doesn't retry it on a fresh connection, because a POST without an Idempotency-Key header isn't considered safe to replay. Outpost records it as a failed attempt with connection_reset.
For the user this shows up as:
- a failed attempt in the attempt log, though the endpoint is healthy
- delivery delayed by one retry interval
- one retry used from the destination's retry budget
Usually the next scheduled retry opens a new connection and succeeds, so the event is still delivered. If it happens on the last attempt of the retry schedule, Outpost gives up on the event even though the endpoint was healthy.
The error is transient and comes from our connection reuse rather than from the destination, so it shouldn't need to surface as a failed attempt or count against the retry budget.
- Lingua principale
- Go
- Stelle
- 1.1k
- Fork
- 70
- Merge medio
- 3g 9h
- PR unite (30g)
- 34
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hookdeck/outpost
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
hookdeck/outpost#1195 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hookdeck/outpost#1194 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di hookdeck/outpost
Issue simili
-
area/docs framework/hugo help wanted language/markdown
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
openclaw/crabbox#3060 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
kubeflow/semantic-operator#52 ·
I maintainer di solito rispondono entro 10 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PramodBasavarajMenasi/siftwise#52 ·
I maintainer di solito rispondono entro 1 giorno