Unable to contact store - proxy configuration problem?

Hello!

I can’t find an answer to my problem on the forum so I thought I’d ask.

I just installed snapd on a Fedora 26 but whenever I try to install a snap, I get the following error:
error: unable to contact snap store

I thought it may come from the proxy we use here bit I didnt find how to configure it. I tried using /etc/environment but it didn’t work. Is there a way to do that on Fedora?

I’ve read some options talking about configuring something from core but since I can’t contact the store at all, I can’t install core either.

When you say you tried using /etc/environment, what exactly did you do?

It was empty so I added a line with:
http_proxy=“http://USER:PASSWORD@myproxy.server.com:8080/

Restarted snapd and tried again.

did you try also setting https_proxy?

Just tried and I get the same error.