-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
502 Bad Gateway | Error ISO Download #98
Comments
Not sure why you tagged #97 as duplicate of this one as it was created before this one and therefore this one is the duplicate. The issue is that all trial ISO links are now returning Bad Gateway errors and we need to find new links/source for them as I explained in the previous issue. |
Hi, Use |
I opened an issue on |
Wget seems to work, thx! Blacklisting Packer's User-Agent is weird. Hope it gets resolved soon. |
What do you do exactly as a workaround? |
@Maximevilla source: hashicorp/packer#1826 (comment) |
So thanks Wenzel @Wenzel :* |
@Wenzel According to the issue you opened (hashicorp/packer#6560) it seems resolved. I just tested it with the win7_32_analyst image and it seems to be still an issue, could you confirm on your end? |
@Svieg the issue is not resolved yet. If you change the URL in your packer templates, it will work, |
I saw this comment and I didn't understand that you changed the URL to make it work: hashicorp/packer#6560 (comment). I understand that it's a pain that MS does that but I wouldn't mind changing the templates for Malboxes. So we should only change it to: http://download.microsoft.com/download/2/5/4/254230E8-AEA5-43C5-94F6-88CE222A5846/14393.0.160715-1616.RS1_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO ,etc? |
@Svieg , yes it should work. Just test it before committing any changes |
As a workaround, I recommend that you download the ISOs with ...
"iso_path": "/home/olivier/tools/isos/",
... |
I added a link to the ISOs so you can download them easily and then use https://github.com/GoSecure/malboxes/blob/master/docs/windows-licenses.adoc#trial |
The added URLs are deprecated, Microsoft seems to have changed their way to offer their isos ( https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise ). You still can manually download the iso and provide the path as a workaround. |
@LacroixEtienne the URLs pointing to |
@Wenzel I must have missed this, thank you. |
Windows 10 URLs are fixed. Windows 7 trials can be downloaded using a browser, I'm not sure about packer. In any case, the URLs are all documented here: https://github.com/GoSecure/malboxes/blob/master/docs/windows-licenses.adoc#trial You can always download and use the |
machine@root # malboxes build win10_64_analyst
Generating configuration files...
Configuration files are ready
Starting packer to generate the VM
virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///usr/share/virtualbox/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///14393.0.160715-1616.RS1_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO
virtualbox-iso: Error downloading: open /14393.0.160715-1616.RS1_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO: no such file or directory
virtualbox-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/2/5/4/254230E8-AEA5-43C5-94F6-88CE222A5846/14393.0.160715-1616.RS1_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO
virtualbox-iso: Error downloading: Error making HTTP GET request: 502 Bad Gateway
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.
==> Builds finished but no artifacts were created.
packer completed with return code: 1
Packer failed. Build failed. Exiting...
The text was updated successfully, but these errors were encountered: