{"action":"created","issue":{"url":"https://api.github.com/repos/boot-clj/boot-bin/issues/2","repository_url":"https://api.github.com/repos/boot-clj/boot-bin","labels_url":"https://api.github.com/repos/boot-clj/boot-bin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/boot-clj/boot-bin/issues/2/comments","events_url":"https://api.github.com/repos/boot-clj/boot-bin/issues/2/events","html_url":"https://github.com/boot-clj/boot-bin/issues/2","id":132610754,"number":2,"title":"Boot will not work from behind proxy","user":{"login":"sebukoleth","id":1766488,"avatar_url":"https://avatars.githubusercontent.com/u/1766488?v=3","gravatar_id":"","url":"https://api.github.com/users/sebukoleth","html_url":"https://github.com/sebukoleth","followers_url":"https://api.github.com/users/sebukoleth/followers","following_url":"https://api.github.com/users/sebukoleth/following{/other_user}","gists_url":"https://api.github.com/users/sebukoleth/gists{/gist_id}","starred_url":"https://api.github.com/users/sebukoleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebukoleth/subscriptions","organizations_url":"https://api.github.com/users/sebukoleth/orgs","repos_url":"https://api.github.com/users/sebukoleth/repos","events_url":"https://api.github.com/users/sebukoleth/events{/privacy}","received_events_url":"https://api.github.com/users/sebukoleth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-02-10T05:32:06Z","updated_at":"2016-08-18T15:22:03Z","closed_at":null,"body":"The 'download' method directly uses URL.openStream without setting proxy. There are two options\r\n(i)  try setting system property java.net.useSystemProxies=true before URL.openStream()\r\n(ii) let boot.exe/boot.sh accept proxyHost, proxyPort, proxyUserName and proxyPassword. Then use standard Java system properties to set these into the JVM"},"comment":{"url":"https://api.github.com/repos/boot-clj/boot-bin/issues/comments/240757953","html_url":"https://github.com/boot-clj/boot-bin/issues/2#issuecomment-240757953","issue_url":"https://api.github.com/repos/boot-clj/boot-bin/issues/2","id":240757953,"user":{"login":"gphilipp","id":56603,"avatar_url":"https://avatars.githubusercontent.com/u/56603?v=3","gravatar_id":"","url":"https://api.github.com/users/gphilipp","html_url":"https://github.com/gphilipp","followers_url":"https://api.github.com/users/gphilipp/followers","following_url":"https://api.github.com/users/gphilipp/following{/other_user}","gists_url":"https://api.github.com/users/gphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/gphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gphilipp/subscriptions","organizations_url":"https://api.github.com/users/gphilipp/orgs","repos_url":"https://api.github.com/users/gphilipp/repos","events_url":"https://api.github.com/users/gphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/gphilipp/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T15:22:03Z","updated_at":"2016-08-18T15:22:03Z","body":"I'm behind a corporate proxy which requires authentication so I have the same issue.\r\nAnd also, I'm using windows :cry: \r\n\r\nThe problem I see is two-fold. \r\n\r\n1. It seems like the boot.exe binary will not honor the BOOT_JVM_OPTIONS as it's only read in [head.sh](https://github.com/boot-clj/boot-bin/blob/91e30129ae4485df2185d7539ba1beef33440777/src/head.sh) which is concatenaned at the top of the boot.sh script (there's no `boot.bat` or `boot.cmd` equivalent)\r\n2. Even if it could read the BOOT_JVM_OPTIONS, you'd have to set additional proxyUsername and proxyPassword since they don't exist for the JVM, and configure a default Authenticator.\r\n\r\n```cmd\r\nD:\\gphilip\\dev>boot\r\nDownloading https://github.com/boot-clj/boot/releases/download/2.4.2/boot.jar...\r\nException in thread \"main\" java.net.UnknownHostException: github.com\r\n        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)\r\n        at java.net.PlainSocketImpl.connect(Unknown Source)\r\n        at java.net.SocksSocketImpl.connect(Unknown Source)\r\n        at java.net.Socket.connect(Unknown Source)\r\n        at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)\r\n        at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)\r\n        at sun.net.NetworkClient.doConnect(Unknown Source)\r\n        at sun.net.www.http.HttpClient.openServer(Unknown Source)\r\n        at sun.net.www.http.HttpClient.openServer(Unknown Source)\r\n        at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)\r\n        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)\r\n        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)\r\n        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)\r\n        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)\r\n        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)\r\n        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)\r\n        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)\r\n        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)\r\n        at java.net.URL.openStream(Unknown Source)\r\n        at Boot.download(Boot.java:173)\r\n        at Boot.install(Boot.java:224)\r\n        at Boot.main(Boot.java:243)\r\n```"}}
{"actor":{"display_login":"gphilipp"}}