{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/6560","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/6560/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/6560/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/6560/events","html_url":"https://github.com/hashicorp/packer/issues/6560","id":346560983,"node_id":"MDU6SXNzdWUzNDY1NjA5ODM=","number":6560,"title":"Packer download always fails with 502 Bad Gateway while wget works","user":{"login":"Wenzel","id":964610,"node_id":"MDQ6VXNlcjk2NDYxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/964610?v=4","gravatar_id":"","url":"https://api.github.com/users/Wenzel","html_url":"https://github.com/Wenzel","followers_url":"https://api.github.com/users/Wenzel/followers","following_url":"https://api.github.com/users/Wenzel/following{/other_user}","gists_url":"https://api.github.com/users/Wenzel/gists{/gist_id}","starred_url":"https://api.github.com/users/Wenzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wenzel/subscriptions","organizations_url":"https://api.github.com/users/Wenzel/orgs","repos_url":"https://api.github.com/users/Wenzel/repos","events_url":"https://api.github.com/users/Wenzel/events{/privacy}","received_events_url":"https://api.github.com/users/Wenzel/received_events","type":"User","site_admin":false},"labels":[{"id":33051538,"node_id":"MDU6TGFiZWwzMzA1MTUzOA==","url":"https://api.github.com/repos/hashicorp/packer/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":142214477,"node_id":"MDU6TGFiZWwxNDIyMTQ0Nzc=","url":"https://api.github.com/repos/hashicorp/packer/labels/core","name":"core","color":"eb6420","default":false},{"id":45643873,"node_id":"MDU6TGFiZWw0NTY0Mzg3Mw==","url":"https://api.github.com/repos/hashicorp/packer/labels/need-more-info","name":"need-more-info","color":"fbca04","default":false},{"id":180552154,"node_id":"MDU6TGFiZWwxODA1NTIxNTQ=","url":"https://api.github.com/repos/hashicorp/packer/labels/upstream-bug","name":"upstream-bug","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-08-01T11:32:15Z","updated_at":"2018-08-21T22:38:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- Packer version `v1.2.5`\r\n- Host platform: `Ubuntu 18.04 LTS`\r\n- Debug log: [Gist](https://gist.github.com/Wenzel/451c5048db9c7dea70750cbf8dd2aab2)\r\n\r\nAs you can see from the following screenshot, i cannot download Windows images from MSDN anymore, it always fail with a 502 Bad Gateway error:\r\n![screenshot from 2018-08-01 14-27-46](https://user-images.githubusercontent.com/964610/43519258-630838b8-9597-11e8-97e6-bde6f99741da.png)\r\n\r\nAt the beginning i thought this was a network issue with Microsoft, until i found out that `wget` was working fine.\r\n\r\nThere is no reason `wget` would work better than `Packer` for a simple `GET` request.\r\nSo, is `Packer` setting some strange `HTTP` headers in the `GET` request ?\r\n\r\nHow can i investigate ?\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/414844213","html_url":"https://github.com/hashicorp/packer/issues/6560#issuecomment-414844213","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/6560","id":414844213,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDg0NDIxMw==","user":{"login":"boumenot","id":91112,"node_id":"MDQ6VXNlcjkxMTEy","avatar_url":"https://avatars2.githubusercontent.com/u/91112?v=4","gravatar_id":"","url":"https://api.github.com/users/boumenot","html_url":"https://github.com/boumenot","followers_url":"https://api.github.com/users/boumenot/followers","following_url":"https://api.github.com/users/boumenot/following{/other_user}","gists_url":"https://api.github.com/users/boumenot/gists{/gist_id}","starred_url":"https://api.github.com/users/boumenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boumenot/subscriptions","organizations_url":"https://api.github.com/users/boumenot/orgs","repos_url":"https://api.github.com/users/boumenot/repos","events_url":"https://api.github.com/users/boumenot/events{/privacy}","received_events_url":"https://api.github.com/users/boumenot/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T22:38:57Z","updated_at":"2018-08-21T22:38:57Z","author_association":"COLLABORATOR","body":"Made some more friends.  The are going to see if it is DDoS protections kicking in, and what can be done to address it.  In the interim, he would like to know if you replace care.dleservice.microsoft.com with download.microsoft.com is it still blocked.\r\n"}}
{"actor":{"display_login":"boumenot"}}