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