azure-dependabot icon indicating copy to clipboard operation
azure-dependabot copied to clipboard

Error related to GitHub rate limit

Open flcdrg opened this issue 4 years ago • 0 comments

I have seeing issues similar to https://github.com/dependabot/dependabot-core/issues/942 - update.rb outputs an error like this:

/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/octokit-4.18.0/lib/octokit/response/raise_error.rb:16:in `on_complete': GET https://api.github.com/repos/CopyText/TextCopy/contents/: 403 - API rate limit exceeded for 104.42.175.58. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) // See: https://developer.github.com/v3/#rate-limiting (Octokit::TooManyRequests)
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/response.rb:12:in `block in call'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/response.rb:65:in `on_complete'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/response.rb:11:in `call'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb:148:in `call'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb:153:in `build_response'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/connection.rb:492:in `run_request'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/faraday-1.0.1/lib/faraday/connection.rb:198:in `get'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/sawyer-0.8.2/lib/sawyer/agent.rb:94:in `call'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/octokit-4.18.0/lib/octokit/connection.rb:156:in `request'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/octokit-4.18.0/lib/octokit/connection.rb:19:in `get'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/octokit-4.18.0/lib/octokit/client/contents.rb:36:in `contents'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/clients/github_with_retries.rb:95:in `public_send'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/clients/github_with_retries.rb:95:in `block in method_missing'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/clients/github_with_retries.rb:115:in `retry_connection_failures'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/clients/github_with_retries.rb:92:in `method_missing'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:261:in `fetch_github_file_list'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:243:in `fetch_dependency_file_list'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:238:in `dependency_file_list'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:139:in `changelog_from_ref'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:127:in `default_branch_changelog'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:87:in `changelog'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base/changelog_finder.rb:34:in `changelog_url'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/metadata_finders/base.rb:40:in `changelog_url'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator/message_builder.rb:506:in `changelog_url'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator/message_builder.rb:280:in `metadata_links_for_dep'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator/message_builder.rb:267:in `metadata_links'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator/message_builder.rb:53:in `commit_message'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator.rb:141:in `azure_creator'
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/dependabot-common-0.118.0/lib/dependabot/pull_request_creator.rb:75:in `create'
	from ./update.rb:92:in `block in <main>'
	from ./update.rb:40:in `each'
	from ./update.rb:40:in `<main>'

flcdrg avatar Jun 10 '20 01:06 flcdrg