I’m having some trouble connecting my local snapd
instance to the API to install packages on my Debian 11 machine.
When I check connectivity, I find that api.snapcraft.io
is unreachable.
danwoz@cobbler ~ took 45s
14:49:22 ❯ sudo snap debug connectivity
Connectivity status:
* api.snapcraft.io: unreachable
error: 1 servers unreachable
Pinging api.snapcraft.io
confirms as much.
danwoz@cobbler ~ took 30s
14:49:56 ❯ ping api.snapcraft.io
PING api.snapcraft.io (91.189.92.19) 56(84) bytes of data.
^C
--- api.snapcraft.io ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3033ms
I’ll note here that my computer has network connectivity, and I can successfully ping other sites.
I noticed that a different machine resolves api.snapcraft.io
to a different IP address, so I tried flushing my DNS cache, which gave me a new IP address… which I also can’t contact.
danwoz@cobbler ~ took 3s
15:11:56 ❯ sudo snap debug connectivity
Connectivity status:
* api.snapcraft.io: unreachable
error: 1 servers unreachable
danwoz@cobbler ~ took 30s
15:12:35 ❯ ping api.snapcraft.io
PING api.snapcraft.io (91.189.92.39) 56(84) bytes of data.
^C
--- api.snapcraft.io ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1032ms
According to https://status.snapcraft.io/
, api.snapcraft.io
is up today (Sep. 02, 2022) with no issues. Is there anything I can do to get snapd
working?