Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

connection closed before message completed #30

Closed
DevBlocky opened this issue May 30, 2021 · 1 comment
Closed

connection closed before message completed #30

DevBlocky opened this issue May 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@DevBlocky
Copy link
Owner

Infrequent error that happens during MISS requests where a connection is closed before the download of the image can be started.

It's documented with hyperium/hyper#2136, and is related to keep-alives being closed by the target while we try a message. Possible solution is to implement retry behavior.

Example Logs

[2021-05-30T05:48:07Z ERROR scalpel::http::handler] unexpected upstream error before download (error sending request for url (https://reh3tgm2rs8sr.xnvda7fch4zhr.mangadex.network/data/22b9b3d01473f7ab671c5aef21dbe1f5/n31-1f7489d0d4ace98891f8cf73d105be69095304ee78a6eff4418afaad5a696498.png): connection closed before message completed)
[2021-05-30T05:53:43Z ERROR scalpel::http::handler] unexpected upstream error before download (error sending request for url (https://reh3tgm2rs8sr.xnvda7fch4zhr.mangadex.network/data/5c91564db1a34f123432e738b8eb8271/21-5d1905830e67e1a05ac90792f11f0834af416309b6c6eb94b5a46da39e0ffb06.png): connection closed before message completed)
[2021-05-30T07:47:45Z ERROR scalpel::http::handler] unexpected upstream error before download (error sending request for url (https://reh3tgm2rs8sr.xnvda7fch4zhr.mangadex.network/data/980ff600525bb34d3f7cf1b3b8423ffb/g43-818bb01b89e5211079ebbfee4fc0f497bad578d78ea7db1d8e31fa3e4a1d835c.jpg): connection closed before message completed)
@DevBlocky DevBlocky added the bug Something isn't working label May 30, 2021
@DevBlocky
Copy link
Owner Author

fixed in d5884e5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant