I really hope rubygems.org could either support IPv6 or remove the IPv6 DNS record.
Update: I restarted my computer and it works now.
> 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
sonalkr132 on 25 Aug, 2020 06:12 AM
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:
If you are feeling particularly generous, please add send pcap file for requests to rubygems.org over IPv6 as well. You can use tshark -i any -f "host rubygems.org" -w rubygems.pcap or sudo tcpdump -i any host rubygems.org -w rubygems.pcap
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 wget -6 www.google.com, it will timeout as well.
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 ip addr), which is a prerequisite for any IPv6 issue. Perhaps try ping6 www.google.com and see if that is working. Please do let us know about your finding or if you need help debugging this in your network.
As of why "most" things work for you but gem install .. timeout, please check this pull request.