github API rate limit exceeded! #42

Open
opened 2022-08-22 09:43:57 -04:00 by garygao1965 · 7 comments
garygao1965 commented 2022-08-22 09:43:57 -04:00 (Migrated from github.com)

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

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install error: github API rate limit exceeded
hasanmonfared commented 2023-01-28 04:10:10 -05:00 (Migrated from github.com)

Hello.
I have the same problem.

Hello. I have the same problem.
YoghurtGuy commented 2023-03-18 04:35:55 -04:00 (Migrated from github.com)

I have the same problem.

I have the same problem.
stephenjleng commented 2023-04-09 14:43:34 -04:00 (Migrated from github.com)

I have the same problem.

I have the same problem.
niylin commented 2023-04-29 15:34:19 -04:00 (Migrated from github.com)

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

我也遇到了同样问题,其他仓库可以下载,只有这个限制了
amirhosein-sa commented 2023-08-12 05:25:43 -04:00 (Migrated from github.com)

Facing the same problem here

Facing the same problem here
computerscot commented 2023-09-24 16:37:55 -04:00 (Migrated from github.com)

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
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 commented 2023-09-28 05:33:06 -04:00 (Migrated from github.com)

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.

> 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 in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
XTLS/Xray-install#42
No description provided.