I'm having an issue where my Ubuntu device is unable to connect with multiple endpoints when I try to sudo apt update
it.
The device is a Jetson Nano
Here's my output when running sudo apt update
:
Ign:1 https://repo.download.nvidia.com/jetson/common r32.6 InRelease
Ign:2 https://repo.download.nvidia.com/jetson/t210 r32.6 InRelease
Err:3 https://repo.download.nvidia.com/jetson/common r32.6 Release
Could not handshake: Error in the pull function. [IP: 104.77.174.144 443]
Err:4 https://repo.download.nvidia.com/jetson/t210 r32.6 Release
Could not handshake: Error in the pull function. [IP: 104.77.174.144 443]
Err:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Connection failed [IP: 91.189.88.152 80]
Err:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Connection failed [IP: 91.189.88.152 80]
Err:7 http://ppa.launchpad.net/amanusk/python-s-tui/ubuntu bionic InRelease
Connection failed [IP: 91.189.95.85 80]
Err:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Connection failed [IP: 91.189.88.152 80]
Err:9 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Connection failed [IP: 91.189.88.152 80]
Reading package lists... Done
E: The repository 'https://repo.download.nvidia.com/jetson/common r32.6 Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://repo.download.nvidia.com/jetson/t210 r32.6 Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
But, when I run a netcat on some of the same addresses:
jetson@jetson:~$ nc -z -v 91.189.88.152 80
Connection to 91.189.88.152 80 port [tcp/http] succeeded!
The same is true for my wireguard connection. I am unable to connect to my endpoint with wireguardm but I can with netcat like so:
jetson@jetson:~$ nc -z -v -u my.wireguard.endpoint 5555
Connection to my.wireguard.endpoint 5555 port [udp/rplay] succeeded!
In the wireguard logs, it never manages to reach the endpoint:
[Fri Nov 26 11:46:09 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:14 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 15)
[Fri Nov 26 11:46:14 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:19 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 16)
[Fri Nov 26 11:46:19 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:25 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 17)
[Fri Nov 26 11:46:25 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:30 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 18)
[Fri Nov 26 11:46:30 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:35 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 19)
[Fri Nov 26 11:46:35 2021] wireguard: my_vpn: Sending handshake initiation to peer 3 (my.wireguard.endpoint:5555)
[Fri Nov 26 11:46:41 2021] wireguard: my_vpn: Handshake for peer 3 (my.wireguard.endpoint:5555) did not complete after 5 seconds, retrying (try 20)
In general on the device, I am able to correctly access the internet:
jetman@camera:~$ ping google.com
PING google.com (142.250.70.206) 56(84) bytes of data.
64 bytes from google.com (142.250.70.206): icmp_seq=1 ttl=58 time=36.9 ms
64 bytes from google.com (142.250.70.206): icmp_seq=2 ttl=58 time=17.9 ms
How can this occur? Does netcat behave differently to regular internet communication, that it can get through, but nothing else can?