foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
106 stars 12 forks source link

It seems the API is down again #96

Open tr00gle opened 5 months ago

tr00gle commented 5 months ago

Repeat of #85

Getting 502 bad gateway

❯ curl "https://api.foojay.io/disco/v3.0/packages?package_type=jdk&latest=available&version=11&javafx_bundled=true&operating_system=macos&architecture=x64&archive_type=dmg&archive_type=pkg"
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
HanSolo commented 5 months ago

Already back up again…there was a deployment

tr00gle commented 5 months ago

Already back up again…there was a deployment

Hey thanks for the quick response and resolution. Am I correct in understanding that the deployment took down the API? Was that downtime expected as part of the deployment, or did the deploy go wrong somewhere?

HanSolo commented 5 months ago

It can happen that the api does not response for a short amount of time after a deployment. Please keep in mind that we do not guarantee zero downtime. 😁

tr00gle commented 5 months ago

It can happen that the api does not response for a short amount of time after a deployment. Please keep in mind that we do not guarantee zero downtime. 😁

I totally understand the guarantees, and I appreciate the transparency. The fault tolerance responsibility lies with the gradle plugin that relies on this API.