snap download ignores proxy setup for snapd

Bug #1658815 reported by Max Brustkern
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Invalid
Undecided
Unassigned

Bug Description

I'm running an ubuntu core system behind a proxy. I configured snapd to use it via /etc/systemd/system/snapd.service.d/proxy.conf and that works for snap refresh, but not snap download.

Revision history for this message
Paweł Stołowski (stolowski) wrote :

This is because - by design - 'snap download' bypasses snapd and makes direct http requests and therefore is not affected by environment config of the daemon.

If you set HTTP_PROXY (HTTPS_PROXY) env vars in your shell, snap download will use the proxy.

Changed in snapd:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.