{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1570","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1570/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1570/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1570/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1570","id":198919739,"number":1570,"title":"Running behind corporate proxy","user":{"login":"barryb20","id":3455526,"avatar_url":"https://avatars.githubusercontent.com/u/3455526?v=3","gravatar_id":"","url":"https://api.github.com/users/barryb20","html_url":"https://github.com/barryb20","followers_url":"https://api.github.com/users/barryb20/followers","following_url":"https://api.github.com/users/barryb20/following{/other_user}","gists_url":"https://api.github.com/users/barryb20/gists{/gist_id}","starred_url":"https://api.github.com/users/barryb20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryb20/subscriptions","organizations_url":"https://api.github.com/users/barryb20/orgs","repos_url":"https://api.github.com/users/barryb20/repos","events_url":"https://api.github.com/users/barryb20/events{/privacy}","received_events_url":"https://api.github.com/users/barryb20/received_events","type":"User","site_admin":false},"labels":[{"id":353748836,"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/bug","name":"bug","color":"ee0701","default":true},{"id":357591531,"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/network","name":"network","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-01-05T10:13:28Z","updated_at":"2017-01-26T00:41:43Z","closed_at":null,"body":"Hi,\r\n\r\nIt would appear IE's proxy settings are not made available to the BASH shell, is this by design?\r\n\r\nThis causes the APT process post the initial extraction of the subsystem to hang and thus the apt process must be killed to allow you to configure the username etc.\r\n\r\nSo what does this mean for the environment if anything?\r\n\r\nAs it is not in place there is no way to populate the apt.conf  file with proxy information and the file does not exist even post configuring the user etc.\r\n\r\nFYI : adding the configuration post user configuration an populating the proxy information apt work as desired, but the original issue obviously is still present.\r\n\r\nWin 10.0.14393\r\n\r\nBarry\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/275278088","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1570#issuecomment-275278088","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1570","id":275278088,"user":{"login":"klauern","id":4735,"avatar_url":"https://avatars.githubusercontent.com/u/4735?v=3","gravatar_id":"","url":"https://api.github.com/users/klauern","html_url":"https://github.com/klauern","followers_url":"https://api.github.com/users/klauern/followers","following_url":"https://api.github.com/users/klauern/following{/other_user}","gists_url":"https://api.github.com/users/klauern/gists{/gist_id}","starred_url":"https://api.github.com/users/klauern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauern/subscriptions","organizations_url":"https://api.github.com/users/klauern/orgs","repos_url":"https://api.github.com/users/klauern/repos","events_url":"https://api.github.com/users/klauern/events{/privacy}","received_events_url":"https://api.github.com/users/klauern/received_events","type":"User","site_admin":false},"created_at":"2017-01-26T00:41:43Z","updated_at":"2017-01-26T00:41:43Z","body":"Hello @JasonLinMS \r\n\r\n# 1. do `wget` and `curl` work\r\n\r\nJust a couple tests on my end, but I unset my `/etc/environment` settings and tried `curl` and `wget`.  It appears that without that set, my `bash` won't work for anything.  For me, I have to have **both** the APT settings configured in `apt.conf` for `apt / apt-get` to work, as well as an `/etc/environment/` for everything else:\r\n\r\n# wget timeouts\r\n<img width=\"474\" alt=\"2017-01-25 18_32_51-program manager\" src=\"https://cloud.githubusercontent.com/assets/4735/22315503/b6ccd36a-e32c-11e6-8c4b-2998154d07d0.png\">\r\n\r\n# curl timeouts\r\n<img width=\"449\" alt=\"2017-01-25 18_35_39-cmder\" src=\"https://cloud.githubusercontent.com/assets/4735/22315565/1a1a960a-e32d-11e6-8ed3-3025492d872d.png\">\r\n\r\n# 2. Do other apps respect the IE proxy settings\r\n\r\nGenerally speaking, they do.  The exception I've encountered is apps that were cross-compiled from Linux, but over time, I've seen that less and less as toolsets seem to add that hook or functionality in later versions.  That said, I tend to spend a lot of my time looking for proxy configs when I see things not working immediately.\r\n\r\nFor my case, the biggest issue is just not being able to run the installer at all to get started without having to be outside of a proxy.  I could probably get some kind of exception rule added with our security group's help, but I would need to know what to request ahead of time.  From that point forward, however, I still have to own up to the fact that most/all of our Linux systems require a proxy configuration, and would require extra configuration (which could be handled by some kind of script and/or after-installation cookbook)."}}
{"actor":{"display_login":"klauern"}}