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
Connection fails with IPv6 without clear error message #4950
Comments
Thanks! It might be the case that I was running Bundler 2.1.x - I have upgraded to Bundler 2.2.x which might have happened during or right after trying to solve this connectivity issue. I'll report back if this problem re-appears and Bundler 2.2.x doesn't provide details about the error. |
With bundler 2.2.28:
|
Can you try upgrading rubygems (https://rubygems.org/pages/download), and then passing the |
When IPv6 nameservers are listed before IPv4 servers in
/etc/resolv.conf
, connection to Rubygems fail withConnection was established by moving IPv4 nameservers to be listed before the IPv6 nameservers in
/etc/resolv.conf
.The error message did not give any hints about this. The solution was found by obscure googling around. The issue started 6 hours ago and rebooting the machine did not fix it. Root cause may or may not be in my IPv6 connection, but the issue here is the unhelpful error message.
At minimum, the error message could display some kind of technical reason what failed. Currently there are no tips what the developer should be looking for in this kind of obscure error.
This issue is related to:
gem
Here are my current environment details:
I will abide by the code of conduct.
The text was updated successfully, but these errors were encountered: