Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Failed to install using curl get.keptn.sh due to GitHub API Ratelimit #51

Closed
christian-kreuzberger-dtx opened this issue Oct 12, 2021 · 0 comments
Labels
type:bug Something isn't working

Comments

@christian-kreuzberger-dtx
Copy link
Member

christian-kreuzberger-dtx commented Oct 12, 2021

I just tried to install using the suggested method in quickstart (curl get.keptn.sh | bash). It failed due to an API Rate Limit hit on GitHub:

$ curl -sL https://get.keptn.sh | bash
The newest version of Keptn is  and will be used automatically
Determined target architecture x86_64
Downloading keptn  for OS linux with architecture amd64 from GitHub: https://github.com/keptn/keptn/releases/download//_keptn-linux.tar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 
An error occured while trying to download keptn from GitHub. Please manually download a release from https://github.com/keptn/keptn/releases.

Within our get.keptn.sh script, we are trying to query the latest as well as all releases of Keptn, e.g.:

curl --silent "https://api.github.com/repos/keptn/keptn/releases"

When executing this command, we get a response with the rate limit showing up:

{"message":"API rate limit exceeded for AB.CD.EF.GH. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

edit: This also affects our nightly tests using MacOS: https://github.com/keptn/get.keptn.sh/actions/runs/1776225287

@christian-kreuzberger-dtx christian-kreuzberger-dtx added the type:bug Something isn't working label Oct 12, 2021
@DavidPHirsch DavidPHirsch closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants