Electroid / mojang-api

Bundle multiple Minecraft APIs into a single GET request.
https://api.ashcon.app/mojang/v2/user/Notch
MIT License
242 stars 17 forks source link

API temporarily responding with bad status (update: fixed) #47

Closed Janmm14 closed 3 years ago

Janmm14 commented 3 years ago

Returns 404 for every request.

Maybe related to some previous upstream problem and bad results got cached?

harvanchik commented 3 years ago

Seems like a Mojang/Minecraft thing. https://mojangstat.us/ Minotar also not working.

Janmm14 commented 3 years ago

The session server is not down for me although the status tells that. mojangstat.us is alos just grabbing data from mojang's api status api and does not check on its own.

For example https://sessionserver.mojang.com/session/minecraft/profile/4566e69fc90748ee8d71d7ba5aa00d20 is reachable and answers normally

harvanchik commented 3 years ago

My best guess is that Mojang changed something in the API then.

MisterFixx commented 3 years ago

https://mc-heads.net/mcstatus Everything seems fine with Mojang

Electroid commented 3 years ago

Hi, investigating. Sorry for the delay

Electroid commented 3 years ago

Looks like requests to Mojang are failing with the 525 status code. There seems to be some SSL issue.

Electroid commented 3 years ago

Update: still investigating, the issue is known, now finding out why this is happening.

Electroid commented 3 years ago

Update: Cloudflare engineers are looking at it. It appears there is an issue with the SSL certificate. This is affecting all requests to *.mojang.com from Cloudflare, so there isn't a quick-fix. Will update again soon.

Electroid commented 3 years ago

Update: fixed. Cloudflare has a "flexible" SSL mode, which started to cause errors with Mojang's SSL certificate. The root cause is still being investigated by them, but the API should be back up. Apologies for the disruption.

MisterFixx commented 3 years ago

I'm running something similar to this repo which also makes requests to Mojang's API but I'm still seeing a whole lot of 525 errors, is there something I need to do to fix this? Also thank you very much for all of the updates.