snapd does not use system proxy settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I'm seeing this in the logs:
Jun 18 11:19:59 librebuild2 snapd[755]: 2018/06/18 11:19:59.542067 autorefresh.go:327: Cannot prepare auto-refresh change: cannot refresh snap-declaration for "gnome-3-26-1604": Get https:/
/api.snapcraft.
while awaiting headers)
Jun 18 11:19:59 librebuild2 snapd[755]: 2018/06/18 11:19:59.542153 stateengine.go:101: state ensure error: cannot refresh snap-declaration for "gnome-3-26-1604": Get https:/
o/api/v1/
headers)
And I guess it's because I'm behind a proxy, and most things don't seem to read the system proxy settings.
This is Ubuntu18.
Perhaps the control-panel thingy should be setting the https_proxy environment variable(s)?
The control-panel thingy _used_ to set https_proxy via /etc/environment, if it doesn't that might be a bug. Or maybe you set it and didn't restart snapd? That would also have this effect.