-
Notifications
You must be signed in to change notification settings - Fork 387
"Error when getting rateLimit: Rate limiting is not enabled." #1227
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
Comments
Hi @taliastocks, |
Hi @taliastocks, This looks like duplicate of #1156 . You can refer to follwoing comment in that issue for the solution. Please feel free to reach out if not resolved, and share with us the PR and the workflow runs where you encountered this issue for further investigation |
Thanks - we increased the operations per run and there is no change. We're not using personal access tokens for this workflow, so I'm not sure how that would help. I'm not sure how I would share the PR and workflow run with you from a GitHub Enterprise Server instance..... |
Hi, we are also experiencing this exact issue on a self-hosted Ubuntu runner against Enterprise Server. Setting |
Hi @taliastocks, Please consider referring to the following documentation link of the Github REST API which are used behind the scenes in actions/stale to understand more on the rate limit and tokens associated with it. We also have created a example file for your reference in which we have passed repo-token to trying to replicate the issue with the help of iterations to exceed the rate limit, and follwoing is its run. |
Hi @taliastocks , We are waiting for your response on the following ticket. |
Hi @suyashgaonkar, You have linked to the documentation for GitHub Cloud. However, as I mentioned in this ticket, I am using GitHub Enterprise Server. Here is the correct link to documentation on rate limits for GitHub Enterprise Server.
The example you have created is not helpful, as again, it is running against GitHub Cloud. This bug report is for GitHub Enterprise Server. |
Fix actions#1227. GitHub Enterprise Server has no rate limits by default, and returns status 404 from the rate_limit endpoint.
The following PR should fix the issue: #1241 |
Description:
When running on GitHub Enterprise Server, rate limiting is not enabled. The action reports two error annotations:
Action version:
9.1.0
Platform:
Runner type:
Repro steps:
Run the action on a self-hosted runner connected to GitHub Enterprise Server, version 3.15.2.
Expected behavior:
No errors should be reported. Everything worked fine, and there are no relevant rate limits.
Actual behavior:
The action reports an error getting rateLimit because rate limiting is not enabled.
The text was updated successfully, but these errors were encountered: