Comment 2 for bug 1791587

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Re: [2.34.2] snapd ignores proxy settings

Hi Michael,

It does work with the edge version on a classic system:

sudo snap refresh --edge core
2018-09-10T16:10:56+03:00 INFO Waiting for restart...
core (edge) 16-2.35.1+git944.b5355ba from Canonical✓ refreshed

snap find vlc
Name Version Publisher Notes Summary
vlc 3.0.4 videolan✓ - The ultimate media player
# ...

sudo tail -f /var/log/squid/access.log

1536585110.412 50341 10.10.10.218 TCP_TUNNEL/200 5122 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.40 -
1536585110.825 50383 10.10.10.218 TCP_TUNNEL/200 323505 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.40 -

It looks like those are the changes you mentioned:

https://github.com/snapcore/snapd/commit/56b7bd942d
https://github.com/snapcore/snapd/blob/56b7bd942d/httputil/client.go#L38-L47