I have the same thread on the same topic but it was related to Linux Mint 20. So I try Ubuntu 20.04 LTS on my laptop and fortunately snap is working well. So I installed Ubuntu 20.04 LTS on my desktop after a long hassle but again I receive the same error (unable to contact snap store). I think there is a problem with my desktop installation so I was wondering if you could provide any solution.
By the way, the only difference in installation between my laptop and desktop is that during the installation I choose Iran for timezone whereas US for my desktop.
I made a fresh installation of Ubuntu and I was able to snap. Snap version was 2.48.2.1 (the same for snapd). After upgrading the packages I was not able to snap anymore. The current version of snap is 2.48.3+20.04 so I guess that is due to upgrading snap.
The problem is resolved. The problem was related to snap version 2.48.3+20.04. The current version is 2.49.2. If you wish I can downgrade the snap to 2.48.3+20.04 and check what would be the output of curl.
If the problem goes away for you with 2.49.2, that’s great, but I’m a bit surprised that upgrading snapd helped. It’s possible you were experiencing some sort of store outage. But also downgrading snapd wouldn’t change the output of the curl command
https://status.snapcraft.io/ shows that there was an outage earlier today, i guess you have just won the lottery and tried to use the store the moments it was inoperational …
sudo apt install chromium-browser
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
chromium-browser
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/48,3 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Preconfiguring packages …
(Reading database … 195431 files and directories currently installed.)
Preparing to unpack …/chromium-browser_1%3a85.0.4183.83-0ubuntu0.20.04.2_amd64.deb …
=> Installing the chromium snap
==> Checking connectivity with the snap store