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

[BUG] Create Release Candidate / Create Release Artifacts fails with rate limit errors #139

Closed
dblock opened this issue Jan 17, 2023 · 0 comments · Fixed by #475
Closed
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dblock
Copy link
Member

dblock commented Jan 17, 2023

What is the bug?

#137

See https://github.com/opensearch-project/opensearch-net/actions/runs/3942005123/jobs/6745138269

[diff] Suggested version change: Patch
:: validate-artifacts: Succeeded. (26.3 s)
:: generate-release-notes: Starting...
:: generate-release-notes: System.AggregateException: One or more errors occurred. (API rate limit exceeded for 172.177.134.80. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.))
 ---> Octokit.RateLimitExceededException: API rate limit exceeded for 172.177.134.80. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
   at Octokit.Connection.HandleErrors(IResponse response) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 704
   at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 685
   at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/Connection.cs:line 670
   at Octokit.ApiConnection.GetPage[TU](Uri uri, IDictionary`2 parameters, String accepts, ApiOptions options) in /home/runner/work/octokit.net/octokit.net/Octokit/Http/ApiConnection.cs:line 628
   at Octokit.ApiConnection.<>c__DisplayClass18_0`1.<<GetAll>b__0>d.MoveNext() in /home/runner/work/octokit.net/octokit.net/Octokit/Http/ApiConnection.cs:line 212
--- End of stack trace from previous location ---
   at Octokit.ApiPagination.GetAllPages[T](Func`1 getFirstPage, Uri uri)
{"message":"API rate limit exceeded for 172.177.134.80. (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"}

   --- End of inner exception stack trace ---
   at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 454
   at Microsoft.FSharp.Control.AsyncPrimitives.RunImmediate[a](CancellationToken cancellationToken, FSharpAsync`1 computation) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1153
   at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1160
   at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken)
   at Scripts.ReleaseNotes.getClosedIssues(String label, Config config) in /home/runner/work/opensearch-net/opensearch-net/build/scripts/ReleaseNotes.fs:line 145
   at Scripts.ReleaseNotes.generateNotes(AnchoredVersion newVersion, AnchoredVersion oldVersion) in /home/runner/work/opensearch-net/opensearch-net/build/scripts/ReleaseNotes.fs:line 153
   at Scripts.ReleaseNotes.GenerateNotes(BuildVersions version) in /home/runner/work/opensearch-net/opensearch-net/build/scripts/ReleaseNotes.fs:line 172
   at [email protected](Unit _arg8) in /home/runner/work/opensearch-net/opensearch-net/build/scripts/Targets.fs:line 105
   at [email protected]()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Bullseye.Internal.ActionTarget.RunAsync(Boolean dryRun, Boolean parallel, Logger log, Func`2 messageOnly)
:: generate-release-notes: Failed! One or more errors occurred. (API rate limit exceeded for 172.177.134.80. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)) (451 ms)

Probably just needs a GH_TOKEN.

@dblock dblock added the bug Something isn't working label Jan 17, 2023
@Xtansia Xtansia added the good first issue Good for newcomers label Apr 2, 2023
Xtansia added a commit to Xtansia/opensearch-net that referenced this issue Dec 10, 2023
dblock pushed a commit that referenced this issue Dec 11, 2023
opensearch-trigger-bot bot pushed a commit that referenced this issue Sep 16, 2024
Xtansia added a commit that referenced this issue Sep 16, 2024
) (#797)

Fixes #139

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 2c54a95)

Co-authored-by: Thomas Farr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants