[Bug 1579652] Re: snap ignores the proxy environment variables
I've just checked, and both pwd=foo and pwd%3D=foo in the userinfo part of the url get picked up with no issue (and amount to the same thing). What is your proxy seeing? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
er, i meant pwd%3Dfoo, obvs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
@ 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? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
What if I just want to use proxy temporarily and don' t want to mess up with /etc/environment. Why can' t the client send a temporary config to the server? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
I got this to work: http://paste.ubuntu.com/p/K8VncJv4vp/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
It looks like http_proxy isn't picked by snap. Because I am using an authenticating proxy I'm not sure I should put that information in a system-wide /etc/environment Why can't snap just use standard environment variables http_proxy? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
So what is the fix? How do you get snaps to pick up environment variables? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
** Changed in: snappy Status: In Progress => Fix Released ** Changed in: snapd (Ubuntu) Status: Confirmed => Fix Released ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => John Lenton (chipaca) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
** Also affects: snapd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
Reported duplicated bug on Ubuntu package https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1574702 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1579652] Re: snap ignores the proxy environment variables
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579652 Title: snap ignores the proxy environment variables To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1579652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs