Xray-install icon indicating copy to clipboard operation
Xray-install copied to clipboard

github API rate limit exceeded!

Open garygao1965 opened this issue 2 years ago • 7 comments

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

garygao1965 avatar Aug 22 '22 13:08 garygao1965

Hello. I have the same problem.

hasanmonfared avatar Jan 28 '23 09:01 hasanmonfared

I have the same problem.

YoghurtGuy avatar Mar 18 '23 08:03 YoghurtGuy

I have the same problem.

lengge86 avatar Apr 09 '23 18:04 lengge86

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

niylin avatar Apr 29 '23 19:04 niylin

Facing the same problem here

amirhosein-sa avatar Aug 12 '23 09:08 amirhosein-sa

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

computerscot avatar Sep 24 '23 20:09 computerscot

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.

Smoovsky avatar Sep 28 '23 09:09 Smoovsky