Error "EHOSTUNREACH" when upgrading to 6.1

Hi,

When using the upgrade.sh script on my instance, it returns with the following error:

...
 extracting: peertube-v6.1.0/support/docker/production/.gitignore  
  inflating: peertube-v6.1.0/support/docker/gitpod/Dockerfile  
  inflating: peertube-v6.1.0/support/docker/gitpod/setup_postgres.sql  
  inflating: peertube-v6.1.0/support/systemd/peertube.service  
  inflating: peertube-v6.1.0/yarn.lock  
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz: connect EHOSTUNREACH 2606:4700::6810:223:443".
info If you think this is a bug, please open a bug report with the information provided in "/var/www/peertube/versions/peertube-v6.1.0/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

It looks like an issue with yarn, possibly because ipv6 isn’t available on my system? I’d appreciate any help troubleshooting!

Hi,

Are you able to ping IPV6 addresses?

I’m not able to.

berocs@peertube:/var/www/peertube/peertube-latest/scripts$ ping 2606:4700::6810:1e22
PING 2606:4700::6810:1e22(2606:4700::6810:1e22) 56 data bytes
From 2605:a601:a8e9:c600::1 icmp_seq=1 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=2 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=3 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=4 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=5 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=6 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=7 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=8 Destination unreachable: Address unreachable
^C
--- 2606:4700::6810:1e22 ping statistics ---
9 packets transmitted, 0 received, +8 errors, 100% packet loss, time 8143ms

berocs@peertube:/var/www/peertube/peertube-latest/scripts$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:a0:98:24:87:02 brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    inet 192.168.13.101/24 metric 100 brd 192.168.13.255 scope global dynamic ens3
       valid_lft 41864sec preferred_lft 41864sec
    inet6 2605:a601:a8e9:c600::2/128 scope global dynamic noprefixroute 
       valid_lft 42396sec preferred_lft 42396sec
    inet6 2605:a601:a8e9:c600:2a0:98ff:fe24:8702/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 85484sec preferred_lft 63884sec
    inet6 fe80::2a0:98ff:fe24:8702/64 scope link 
       valid_lft forever preferred_lft forever

And I tried from another debian machine on the same network:

root@bns-citadel:~# ping 2606:4700::6810:1e22:443
PING 2606:4700::6810:1e22:443(2606:4700::6810:1e22:443) 56 data bytes
From 2605:a601:a8e9:c600::1 icmp_seq=1 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=2 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=3 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=4 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=5 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=6 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=7 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=8 Destination unreachable: Address unreachable
^C
--- 2606:4700::6810:1e22:443 ping statistics ---
8 packets transmitted, 0 received, +8 errors, 100% packet loss, time 7118ms

root@bns-citadel:~# ping 2606:4700::6810:1e22
PING 2606:4700::6810:1e22(2606:4700::6810:1e22) 56 data bytes
From 2605:a601:a8e9:c600::1 icmp_seq=1 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=2 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=3 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=4 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=5 Destination unreachable: Address unreachable
From 2605:a601:a8e9:c600::1 icmp_seq=6 Destination unreachable: Address unreachable
^C
--- 2606:4700::6810:1e22 ping statistics ---
6 packets transmitted, 0 received, +6 errors, 100% packet loss, time 5083ms

I think there is something wrong in your network. Try to force disable ipv6 on your server

1 « J'aime »