Comment 12 for bug 1579652

Revision history for this message
Frédéric DANNA (frederic-danna-h) wrote :

@ Jason Hobbs: The solution you gave doesn't work for me:
```
> systemctl show snapd.service | grep -i proxy
DropInPaths=/etc/systemd/system/snapd.service.d/override.conf /etc/systemd/system/snapd.service.d/snap_proxy.conf

> cat /etc/systemd/system/snapd.service.d/snap_proxy.conf
[Service]
Environment=http_proxy=http://frederic.danna:pwd=foo@proxy:8080
Environment=https_proxy=http://frederic.danna:pwd=foo@proxy:8080

>sudo systemctl daemon-reload
>sudo systemctl restart snapd.service

>sudo snap install gitkraken
erreur : cannot install "gitkraken": Post https://api.snapcraft.io/v2/snaps/refresh: Proxy
          Authentication Required
```

I thought my pbm could come from the "=" char in my password, so I also tried with the URL-encoded version of my password, "pwd%3Dfoo". Same error: "Proxy Authentication Required".

It looks like the proxy IP and port are ok, but the proxy authent data (login and/or password) are ignored...

Any idea?