Option for `HTTPClientError.remoteConnectionClosed`s to be automatically retried
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- swift
- Ambito
- api, networking
Direzione di ricerca
Nell’issue non sono indicati file o test. Inizia individuando l’impostazione esistente retryConnectionEstablishment e seguendo come viene gestito HTTPClientError.remoteConnectionClosed. Il lavoro è completato quando viene fornita un’opzione per ritentare automaticamente questi errori senza estendere i tentativi agli altri tipi di errore descritti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In all apps i've used AHC in, we experience relatively-infrequent but consistent HTTPClientError.remoteConnectionCloseds.
Frequency-wise, my non-scientific approximation would be something like 1/50_000 requests (depends on a lot of factors of course).
These errors seem to happen consistently due to usual network inconsistencies, and they almost never indicate any actual problems on user's side.
I expect AHC to be able to automatically retry these errors so users have a more consistent experience when making requests.
Perhaps there could be a setting like the existing retryConnectionEstablishment.
Worths mentioning that I do also see other kinds of errors here and there, but only inconsistently and much less frequently, so i don't think the other errors are worth retrying, unlike remoteConnectionClosed.
- Lingua principale
- Swift
- Stelle
- 1.1k
- Fork
- 159
- Merge medio
- 1h 22m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 swift-server/async-http-client
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/async-http-client#946 · 2 commenti ·
-
RequestBag keeps the request body after an early response with status >= 300Forse già presa @beshkenadze l’ha presa 16 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
HTTP/2 stream stays half-closed after an early response with status >= 300Forse già presa @beshkenadze l’ha presa 16 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
Transaction keeps the request body after an early response with status >= 300Forse già presa @beshkenadze l’ha presa 16 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
Tutte le issue di swift-server/async-http-client
Issue simili
-
follow-up needs-triage S3: minor
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
manaflow-ai/cmux#38032 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
arkavo-org/ArkavoKit#70 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(cli): usage silently ignores unknown --provider valuesForse già presa @harjothkhara l’ha presa oggi. Apertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
steipete/CodexBar#5017 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressForse già presa @viniciusdsandrade l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted P3 roadmap-v4
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
maziyarpanahi/openmed#5429 ·
I maintainer di solito rispondono entro 3 giorni