Closed kubilayelmas closed 6 years ago
I was getting a HTTP GET request:502 Bad Gateway error when I execute the following command;
packer build -force -only virtualbox-iso .\vbox-2012r2.json
By replacing the url for the iso in the vbox-2012r2.json file, I was able to remedy the issue.
Actual Path in the vbox-2012r2.json http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO
What it should be (at least in my case) http://download.microsoft.com/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EVAL_EN-US-IRM_SSS_X64FREE_EN-US_DV5.ISO
`packer build -force -only virtualbox-iso .\vbox-2012r2.json virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions virtualbox-iso: Downloading or copying: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso ==> virtualbox-iso: Downloading or copying ISO virtualbox-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.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. `
I was getting a HTTP GET request:502 Bad Gateway error when I execute the following command;
packer build -force -only virtualbox-iso .\vbox-2012r2.json
By replacing the url for the iso in the vbox-2012r2.json file, I was able to remedy the issue.
Actual Path in the vbox-2012r2.json http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO
What it should be (at least in my case) http://download.microsoft.com/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EVAL_EN-US-IRM_SSS_X64FREE_EN-US_DV5.ISO
`packer build -force -only virtualbox-iso .\vbox-2012r2.json virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions virtualbox-iso: Downloading or copying: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso ==> virtualbox-iso: Downloading or copying ISO virtualbox-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.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. `