Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github API rate limit exceeded! #42

Open
garygao1965 opened this issue Aug 22, 2022 · 7 comments
Open

github API rate limit exceeded! #42

garygao1965 opened this issue Aug 22, 2022 · 7 comments

Comments

@garygao1965
Copy link

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
error: github API rate limit exceeded

@hasanmonfared
Copy link

hasanmonfared commented Jan 28, 2023

Hello.
I have the same problem.

@YoghurtGuy
Copy link

I have the same problem.

1 similar comment
@lengge86
Copy link

lengge86 commented Apr 9, 2023

I have the same problem.

@niylin
Copy link

niylin commented Apr 29, 2023

我也遇到了同样问题,其他仓库可以下载,只有这个限制了

@amirhosein-sa
Copy link

Facing the same problem here

@computerscot
Copy link

computerscot commented Sep 24, 2023

I believe something like this may work. You will need a GitHub account.

  1. Verify your email address, if it hasn't been verified yet.
  2. In the upper-right corner of any page, click your profile photo, then click Settings.
  3. In the left sidebar, click Developer settings.
  4. In the left sidebar, under Personal access tokens, click Fine-grained tokens.
  5. Click Generate a personal access token.
  6. Under Token name, enter a name for the token, e.g. xray
  7. Under Expiration, select an expiration for the token, e.g. 30 days.
  8. Optionally, under Description, add a note to describe the purpose of the token.
  9. Under Resource owner, select a resource owner, normally your own GitHub id.
  10. Under Repository access, select Public Repositories (read-only).
  11. Click Generate token.
  12. Copy the personal access token to your computer clipboard, since it can be displayed once only.

Then add the GitHub personal access token to your cURL command. For example:

bash -c "$(curl -L 'https://github.com/XTLS/Xray-install/raw/main/install-release.sh' -H 'Authorization: Bearer github_pat_PutYourTokenHere' )" @ install --beta -u root

@Smoovsky
Copy link

I believe something like this may work. You will need a GitHub account.

  1. Verify your email address, if it hasn't been verified yet.
  2. In the upper-right corner of any page, click your profile photo, then click Settings.
  3. In the left sidebar, click Developer settings.
  4. In the left sidebar, under Personal access tokens, click Fine-grained tokens.
  5. Click Generate a personal access token.
  6. Under Token name, enter a name for the token, e.g. xray
  7. Under Expiration, select an expiration for the token, e.g. 30 days.
  8. Optionally, under Description, add a note to describe the purpose of the token.
  9. Under Resource owner, select a resource owner, normally your own GitHub id.
  10. Under Repository access, select Public Repositories (read-only).
  11. Click Generate token.
  12. Copy the personal access token to your computer clipboard, since it can be displayed once only.

Then add the GitHub personal access token to your cURL command. For example:

bash -c "$(curl -L 'https://github.com/XTLS/Xray-install/raw/main/install-release.sh' -H 'Authorization: Bearer github_pat_PutYourTokenHere' )" @ install --beta -u root

Interestingly this walkaround works for me - even the rest request made inside the script doesn't have the header included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants