rharish101 / dilbert-viewer

A simple comic viewer for Dilbert by Scott Adams
https://dilbert-viewer.herokuapp.com
GNU Affero General Public License v3.0
26 stars 0 forks source link

Loading issues #18

Closed William-Ramsay closed 4 months ago

William-Ramsay commented 4 months ago

10s load time minimum and frequent internal errors

xanderman commented 4 months ago

I'm seeing the same thing. I was reading a week's worth of comics, and it started slowing after a couple and then failing at https://dilbert-viewer.herokuapp.com/2020-11-11. I refreshed a few times and collected the error messages in case it helps:

HTTP client error: Error sending request: Timeout while waiting for response Scraping error: Error in scraping the image's details HTTP client error: Error sending request: Failed to connect to host: Connection refused (os error 111) Scraping error: Couldn't scrape comic: b"<html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request.\n</body></html>\n"

"Scraping error" was the most common.

rharish101 commented 4 months ago

Thanks for the example @xanderman! I found the bug, and I've pushed a fix for that. As for the loading times (@William-Ramsay), I think the recent DDoS at archive.org might be contributing to it, since most of the time this website spends is in scraping archive.org.

rharish101 commented 4 months ago

Feel free to reopen the issue (or comment so that I can reopen it) if you still see errors!