Open DenisDenis9331 opened 2 months ago
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs
. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
What happened?
I have this Net::OpenTimeout (Faraday::ConnectionFailed) in my ruby threads, but you can reproduce the error in irb:
Exec this steps in irb:
require 'octokit'; client = Octokit::Client.new(access_token: 'access_token')
contents_url = "https://api.github.com/repos/octokit/octokit.rb/contents/Gemfile?ref=main"
file = client.get(contents_url)
client.get(file.download_url)
Actual result:
Additional info: I started to get this error on April 10th. I texted this problem to GitHub support, but they said that if this problem occurs only in irb and code with octokit, I should post an issue to octokit.
Now I use retry for this error, but I think this way is not good.
Versions
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux] octokit (8.1.0)
Relevant log output
No response
Code of Conduct