subject-f / guyamoe

Kaguya Manga Reader Website
https://guya.moe
GNU Affero General Public License v3.0
462 stars 66 forks source link

Cubari gist 500-ing server #96

Closed xrabohrok closed 3 years ago

xrabohrok commented 3 years ago

I'm trying to create a sort of master reading list for a comic contest, so I generated a cubari.moe gist that would hopefully help me with that. Unfortunately, I get a 500 response with it, like so:

https://cubari.moe/read/gist/JOiI4/

For convenience, the git.io shortened link refers to this revision of this gist: https://gist.github.com/xrabohrok/0b24ba6660c030fd9c446b9eb62d2214

My only guess is that the server is not too happy with receiving about 153 chapters in a go, but the 500 error doesn't give me a lot to go on. Love the site otherwise.

Thanks

xrabohrok commented 3 years ago

I noticed I was missing the overall artist field and updated the last_updated fields to be strings, no dice.

funkyhippo commented 3 years ago

I believe your timestamps are too long; it should be in seconds rather than milliseconds.

xrabohrok commented 3 years ago

Yep, that turned out to be the problem, we're in business now. https://cubari.moe/read/gist/JOitN/ I'll leave the honor of closing the issue to you, I don't know if this is something you want to address further or not. Thanks!

funkyhippo commented 3 years ago

Actually, I just pushed an upstream fix so your original link works now. I appreciate the report!

(Side note but it looks like your git.io links point to specific commits. If you want it to update then you should point it to the raw gist instead (eg. this))

xrabohrok commented 3 years ago

You know, that is way more convenient and keeps me from having to generate new shortened URL's every time, I appreciate the heads up.

I was doing it by special direction of the guide linked from the FAQ, just in case you wondered where that came from.