Waifu-pics / waifu-api

https://waifu.pics Image sharing platform and API for anime images, entirely user curated (joke gone too far)
https://waifu.pics
ISC License
434 stars 35 forks source link

Downtime, 502 bad gateway #57

Closed SammyWhamy closed 2 years ago

SammyWhamy commented 2 years ago

Not sure if you're already aware and/or if this is something I should open a ticket for, but the API has been down for roughly 2 hours already.

Along with this, maybe it'd be nice to have a status page or more direct way to communicate downtime of the API

JSH32 commented 2 years ago

I think something on cloudflare broke. Access at http://207.244.248.212:9001 if you need it for now. Will update soon

SammyWhamy commented 2 years ago

While http://207.244.248.212:9001/ gives a proper JSON response, http://207.244.248.212:9001/sfw/waifu (And any other image endpoint) just loads forever for me, so might be an actual issue with the backend?

JSH32 commented 2 years ago

Use /api after the port

JSH32 commented 2 years ago

Original route should work now. I reverted everything to Google cloud so it should be super stable. Was running on contabo but I think the certificate got messed up after a year or two. Try the original link now

SammyWhamy commented 2 years ago

http://207.244.248.212:9001/api/sfw/waifu gives me a {"message": "Not Found"} http://207.244.248.212:9001/sfw/waifu gives a {"message": "there was an issue processing this request"} after a long loading time. https://waifu.pics/ still going to a "Are you lost" screen

I assume it might just take a bit to resolve after reverting to gcp? I'll try again in a while, thank you for working on it! Let me know if I should try anything else!

SammyWhamy commented 2 years ago

https://api.waifu.pics/sfw/hug now gives me a Cloudflare 524 Timeout Error or a blank page with "Rate exceeded."

JSH32 commented 2 years ago

Sorry, was taking a test so couldn't get to much stuff. It should be fixed now. I'll be redoing infrastructure soon to make sure this does not happen again. Keeping this open for a few hours just to make sure nothing else arises

JSH32 commented 2 years ago

New information Screenshot_20220414-113801_Gmail.png Fuck oracle. They took the db servers ip, fixed permanently

SammyWhamy commented 2 years ago

Ah that sucks, thank you for looking into it! Working as expected again <3

Monix362 commented 1 year ago

@JSH32 Is there any updated information available regarding the reappearance of this issue?

image image

JSH32 commented 1 year ago

Back up, db server shut down for some reason

Monix362 commented 1 year ago

@JSH32 Hello! API is not working again... image image

JSH32 commented 1 year ago

Handling it rn, the db server went offline. I need to stop using oracle cloud after this happened for the second time. Sorry bout that