Snap fedora 34

I install fedora 34 and after i install snapd by sudo dnf install snapd when I try to install vlc by sudo snap install vlc this message is being showed “error: unable to contact snap store”
when I use command sudo snap services terminal logs “There are no services provided by installed snaps.” how can I use snap in fedora 34?

Hi, snapd needs to access in order to install snaps. You can run snap debug connectivity to check if it’s accessible. Perhaps your network is using a proxy?

snap debug connectivity
Connectivity status:
* unreachable
error: 1 servers unreachable
this is output
when I open above link in firefox webpage is shown correctly but why server unreachable when I use commandline (terminal) ?

Well, can you run curl -D- -v and paste the output?


* Connected to ( port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject:
*  start date: May  3 13:51:43 2021 GMT
*  expire date: Aug  1 13:51:43 2021 GMT
*  subjectAltName: host "" matched cert's ""
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
> GET / HTTP/1.1
> Host:
> User-Agent: curl/7.76.1
> Accept: */*
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: gunicorn/19.7.1
Server: gunicorn/19.7.1
< Date: Thu, 20 May 2021 10:47:02 GMT
Date: Thu, 20 May 2021 10:47:02 GMT
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
< Content-Length: 64
Content-Length: 64
< Snap-Store-Version: 36
Snap-Store-Version: 36
< X-View-Name: snapdevicegw.webapi.root
X-View-Name: snapdevicegw.webapi.root
< X-VCS-Revision: cff3f0e9
X-VCS-Revision: cff3f0e9
< X-Request-Id: 057D07961B2D0A325C3901BB60A63E267F4647
X-Request-Id: 057D07961B2D0A325C3901BB60A63E267F4647

< store API service - Copyright 2018-2019 Canonical.
* Connection #0 to host left intact

Perhaps you need to set a proxy, see Preferred method for configuring proxy settings for snapd for some examples of doing that.

Did you manage to set the proxy for snapd?

Can I use TOR in this situation?

I have no experience with TOR. If you can set it up locally such that it appears as a proxy, then you should try the commands from the other thread. Are you sure that the curl command went through TOR though?

I don’t know but I try it.

I think selinux block access to
disable it will make snap work

I try Ubuntu 20.04 LTS live OS in my system and when I use terminal to use snap store neither problem or error occurred.
But I use fedora 34 in my system and when I use snap it doesn’t work and log me unable to contact snap store

I disabled selinux but nothing changed

Can you attach a log from snapd? journalctl -u snapd.

I think I’ve asked this before, but do you know whether you need to set up a proxy in the environment? Have you set it up?

I use proxy and vpn but nothing changed.
I think problem is related to fedora and it’s config because I install Ubuntu 20.04 LTS and no problem with snap without any configuration or proxy or VPN.
I will attach a log file from snapd ASAP.
For notifying I install snapd successfully without any problem but I can’t access to snap store

So have you tried configuring the proxy on Ubuntu like you do on Fedora?

Snap store start downloading any snap without proxy configuration in Ubuntu.

i wonder if it is related to ipv6 hadling on fedora …