tag:help.rubygems.org,2010-01-19:/discussions/problems/35757-rubygems-access-via-ipv6RubyGems.org: Discussion 2020-09-27T05:28:11Ztag:help.rubygems.org,2010-01-19:Comment/470358552019-05-13T05:45:47Z2019-05-13T06:17:52ZRubygems access via IPV6<div><p>I'm experience the same issue.</p>
<p>I really hope rubygems.org could either support IPv6 or remove the IPv6 DNS record.</p>
<p>Thanks!</p>
<p>Update: I restarted my computer and it works now. </p>
<pre>
<code>> ping6 rubygems.org
PING6(56=40+8+8 bytes) [...] --> 2a04:4e42::70
16 bytes from 2a04:4e42::70, icmp_seq=0 hlim=55 time=47.723 ms
16 bytes from 2a04:4e42::70, icmp_seq=1 hlim=55 time=43.885 ms
16 bytes from 2a04:4e42::70, icmp_seq=2 hlim=55 time=43.465 ms
16 bytes from 2a04:4e42::70, icmp_seq=3 hlim=55 time=42.693 ms
16 bytes from 2a04:4e42::70, icmp_seq=4 hlim=55 time=46.918 ms</code>
</pre></div>Domontag:help.rubygems.org,2010-01-19:Comment/470358552020-07-13T07:47:49Z2020-07-13T07:47:49ZRubygems access via IPV6<div><p>Hi,</p>
<p>Sorry about the delay in response here. Can you please confirm if this is still an issue? If yes, I would like to forward some debugging info about your host/IP to the Fastly team.</p>
<p>Thank you for your patience.</p></div>sonalkr132tag:help.rubygems.org,2010-01-19:Comment/470358552020-08-25T02:26:55Z2020-08-25T02:26:56ZRubygems access via IPV6<div><p>Signing up just to comment. Yes @sonalkr132, this is still an issue.</p></div>Braxtontag:help.rubygems.org,2010-01-19:Comment/470358552020-08-25T06:12:40Z2020-08-25T06:12:40ZRubygems access via IPV6<div><p>Hi Braxton,</p>
<p>Thank you for reaching out. It would be very helpful if you can take some to run some commands for debugging info. Specifically, what is the output of the following commands when running from the host which has IPv6 connection issue to rubygems.org:<br></p>
<pre>
<code>$ wget -6 rubygems.org
$ wget -6 www.ttora.com
$ traceroute 2a04:4e42::70</code>
</pre>
If you are feeling particularly generous, please add send pcap file for requests to rubygems.org over IPv6 as well. You can use <code>tshark -i any -f "host rubygems.org" -w rubygems.pcap</code> or <code>sudo tcpdump -i any host rubygems.org -w rubygems.pcap</code></div>sonalkr132tag:help.rubygems.org,2010-01-19:Comment/470358552020-09-27T04:38:03Z2020-09-27T04:38:04ZRubygems access via IPV6<div><p>Hi there,</p>
<p>Thanks for getting back to me. Let's get this sorted out and fixed! The output from what you requested follows:</p>
<p><code>$ wget -6 rubygems.org</code></p>
<p>Returns:</p>
<p><code>--2020-09-26 23:18:32-- http://rubygems.org/ Resolving rubygems.org (rubygems.org)... 2a04:4e42::70 Connecting to rubygems.org (rubygems.org)|2a04:4e42::70|:80... failed: Operation timed out. Retrying.</code></p>
<p><code>--2020-09-26 23:19:49-- (try: 2) http://rubygems.org/ Connecting to rubygems.org (rubygems.org)|2a04:4e42::70|:80... failed: Operation timed out. Retrying.</code></p>
<p><code>--2020-09-26 23:21:08-- (try: 3) http://rubygems.org/ Connecting to rubygems.org (rubygems.org)|2a04:4e42::70|:80... failed: Operation timed out. Retrying.</code></p>
<p>etc.</p>
<p><code>$ wget -6 www.ttora.com</code></p>
<p>Returns:</p>
<p><code>--2020-09-26 23:18:55-- http://www.ttora.com/ Resolving www.ttora.com (www.ttora.com)... 2606:4700::6810:4552, 2606:4700::6810:ad66 Connecting to www.ttora.com (www.ttora.com)|2606:4700::6810:4552|:80... failed: Operation timed out. Connecting to www.ttora.com (www.ttora.com)|2606:4700::6810:ad66|:80... failed: Operation timed out. Retrying.</code></p>
<p><code>--2020-09-26 23:21:30-- (try: 2) http://www.ttora.com/ Connecting to www.ttora.com (www.ttora.com)|2606:4700::6810:4552|:80... failed: Operation timed out.</code></p>
<p>etc.</p>
<p><code>$ traceroute 2a04:4e42::70</code></p>
<p>Returns:</p>
<p><code>traceroute: unknown host 2a04:4e42::70</code></p>
<p>The pcap file returned the following (and is attached)</p>
<p><code>21 packets captured 173315 packets received by filter 0 packets dropped by kernel</code></p>
<p>Let me know what else I can share to get this fixed!</p></div>Braxtontag:help.rubygems.org,2010-01-19:Comment/470358552020-09-27T04:54:53Z2020-09-27T04:54:54ZRubygems access via IPV6<div><p>To further clarify that the problem stems from the IPv6 protocol, I've included my terminal output for installing a gem with IPv6 enabled and disabled.</p>
<p>Enabled:</p>
<p><code>$ gem install foreman</code></p>
<p><code>ERROR: Could not find a valid gem 'foreman' (>= 0), here is why: Unable to download data from https://rubygems.org/ - timed out (https://rubygems.org/specs.4.8.gz)</code></p>
<p>Disabled:</p>
<p><code>$ networksetup -setv6off Wi-Fi</code></p>
<p><code>$ gem install foreman Successfully installed foreman-0.87.2 Parsing documentation for foreman-0.87.2 Done installing documentation for foreman after 0 seconds 1 gem installed</code></p></div>Braxtontag:help.rubygems.org,2010-01-19:Comment/470358552020-09-27T05:01:48Z2020-09-27T05:01:48ZRubygems access via IPV6<div><pre>
<code>$ wget -6 www.ttora.com
Connecting to www.ttora.com (www.ttora.com)|2606:4700::6810:4552|:80... failed: Operation timed out.</code>
</pre>
<p>This is a kind of litmus test to identify the reason for the IPv6 issue. This command not working generally means the issue in your network (and not fastly/rg.org). You can try <code>wget -6 www.google.com</code>, it will timeout as well.<br>
The next step for you would be to further debug what is broken in your IPv6 network. I am assuming your host has an interface with IPv6 address (check <code>ip addr</code>), which is a prerequisite for <em>any</em> IPv6 issue. Perhaps try <code>ping6 www.google.com</code> and see if that is working. Please do let us know about your finding or if you need help debugging this in your network.<br>
As of why "most" things work for you but <code>gem install ..</code> timeout, please check this <a href="https://github.com/rubygems/rubygems/pull/2662">pull request</a>.</p></div>sonalkr132