Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken comic - TheGamerCat #268

Open
Typhonragewind opened this issue Jun 1, 2023 · 2 comments
Open

Broken comic - TheGamerCat #268

Typhonragewind opened this issue Jun 1, 2023 · 2 comments
Labels

Comments

@Typhonragewind
Copy link
Contributor

This one seems to be broken, but i think the fault lies in the comic server itself and not in dosage, as i get this error:

TheGamerCat> ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))

Don't know if there is anything that can be done about it, but i'm leaving the report here

I tried to rewrite the class to use the basicparser, and i still get the same error

@TobiX
Copy link
Member

TobiX commented Jun 2, 2023

That cannot be fixed by using a different parser, the server sends invalid chunked responses...

This also fails:

$ curl --http1.1 --fail-with-body -o pawsed.html https://thegamercat.com/comic/pawsed/
curl: (18) transfer closed with outstanding read data remaining

Even HTTP2 fails:

$ curl --fail-with-body -o pawsed.html https://thegamercat.com/comic/pawsed/
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)

😞

@TobiX TobiX added the bug label Jun 2, 2023
@Typhonragewind
Copy link
Contributor Author

I was experimenting with it a bit more and there was one instance where it succeeded (just by retrying multiple times), so perhaps a multiple retry approach MIGHT work, as ugly as it sounds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants