NixOS / nixos-homepage

Sources for nixos.org
https://nixos.org
303 stars 316 forks source link

Can't reach nixos.org over ipv6 #1059

Open Gaius-lafayette opened 1 year ago

Gaius-lafayette commented 1 year ago

Was having problems updating but couldn't figure out why

sudo nix-channel --update
warning: error: unable to download 'https://nixos.org/channels/nixos-22.11': HTTP error 302 (curl error: Timeout was reached); retrying in 266 ms

Can't reach over ipv6

ping -6 nixos.org -c 4
PING nixos.org(2600:1f18:2489:8201::c8 (2600:1f18:2489:8201::c8)) 56 data bytes

--- nixos.org ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3089ms

But I can ping over ipv4

ping -4 nixos.org -c 4
PING  (35.231.210.182) 56(84) bytes of data.
64 bytes from 182.210.231.35.bc.googleusercontent.com (35.231.210.182): icmp_seq=1 ttl=58 time=43.2 ms
64 bytes from 182.210.231.35.bc.googleusercontent.com (35.231.210.182): icmp_seq=2 ttl=58 time=42.1 ms
64 bytes from 182.210.231.35.bc.googleusercontent.com (35.231.210.182): icmp_seq=3 ttl=58 time=42.1 ms
64 bytes from 182.210.231.35.bc.googleusercontent.com (35.231.210.182): icmp_seq=4 ttl=58 time=42.1 ms

---  ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 42.076/42.391/43.205/0.470 ms

My ipv6 is working

ping -6 google.com -c 4
PING google.com(dfw28s30-in-x0e.1e100.net (2607:f8b0:4000:809::200e)) 56 data bytes
64 bytes from dfw28s30-in-x0e.1e100.net (2607:f8b0:4000:809::200e): icmp_seq=1 ttl=120 time=3.39 ms
64 bytes from dfw28s30-in-x0e.1e100.net (2607:f8b0:4000:809::200e): icmp_seq=2 ttl=120 time=3.67 ms
64 bytes from dfw28s30-in-x0e.1e100.net (2607:f8b0:4000:809::200e): icmp_seq=3 ttl=120 time=3.08 ms
64 bytes from dfw28s30-in-x0e.1e100.net (2607:f8b0:4000:809::200e): icmp_seq=4 ttl=120 time=2.95 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 2.949/3.271/3.671/0.280 ms

After disabling IPv6 on my interface

[root@conceptOS:~]$ sudo nix-channel --update
unpacking channels...

[root@conceptOS:~]$

success

I'm using hurricane electric as my IPv6 provider, and there have been issues with people blocking them before (netflix). But if someone could check if ipv6 is working from other providers that would be great for debugging. I can't recall this being an issue in the past so perhaps something automatically added the hurricane electric ISP to a block list or something?

I'm also not sure if this is the right github repository to place this issue. If it's not, can someone please point me in the right direction?

Lord-Valen commented 1 year ago

Breadcrumbing https://github.com/NixOS/nixpkgs/issues/233867