'snap' does not appear to use proxy settings

Bug #1574702 reported by Halverneus
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
dellserver
New
Undecided
Unassigned
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Configured proxy variables from /etc/environment:
http_proxy=http://proxy.company.com:8080
https_proxy=http://proxy.company.com:8080
HTTP_PROXY=http://proxy.company.com:8080
HTTPS_PROXY=http://proxy.company.com:8080
no_proxy=127.0.0.1,localhost,10.0.0.0/8
NO_PROXY=127.0.0.1,localhost,10.0.0.0/8

When running any 'snap' command that accesses an outside source (snap login, snap find), connection times out:
error: cannot get package access macaroon from store: Post https://myapps.developer.ubuntu.com/api/2.0/acl/package_access/: dial tcp 162.213.33.242:443: i/o timeout

Revision history for this message
Samuele Pedroni (pedronis) wrote :

all remote interaction now goes through the snapd daemon (not the command itself), so that's the process whose environment needs tweaking, not sure what's the best way to do that though

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
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.