Snap store unavailable via IPv6 connections for the past few days

Earlier this year, the snap store was unavailable via IPv6 (bug #1710022). It was fixed fairly promptly.

Unfortunately, for the past few days, this problem has resurfaced. The snap store doesn’t respond when accessing it from a connection with IPv6.

Examples include snap refresh and snap find …

Accessing the snap store from IPv4 works fine.

This obviously also affects the GUI snap-store.

As discussed in the Ubuntu forum, here is a specific workflow on my machine, where Phaedra is the name of my WiFi connection.

# Phaedra is currently using IPv6.
$ nmcli --terse connection show Phaedra | grep -F ipv6.method
ipv6.method:auto

$ sudo snap refresh
error: unable to contact snap store

# Turn off IPv6 on Phaedra.
$ nmcli connection modify Phaedra ipv6.method disabled
$ nmcli --terse connection show Phaedra | grep -F ipv6.method
ipv6.method:disabled

# Try snap again.
$ sudo snap refresh
All snaps up to date.

Thank you

1 Like

It definitely works from germany:

ogra@styx:~$ curl -6 api.snapcraft.io
snapcraft.io store API service - Copyright 2018-2022 Canonical.
ogra@styx:~$ 

That command works fine for me. But sudo snap refresh and snap find gimp don’t.

I’m still getting this problem.

I know that we can ping snapcraft.io with IPv6, but have you tried using (for example) snap find gimp? Mine always times out when I’m using IPv6, but responds instantly when using IPv4.