View Issue Details

IDProjectCategoryView StatusLast Update
0016816mirrorunclassifiedpublic2020-01-23 13:21
Reportergtirloni 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0016816: isoredirect: Packer getting HTML output instead of redirect
DescriptionWhile working with Packer.io, a URL using isoredirect is constantly failing. It's been determined that isoredirect is sending different output based on the user-agent, which breaks automation.
Steps To Reproducecurl -v http://isoredirect.centos.org/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso

VS.

curl -A "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0" -L -O http://isoredirect.centos.org/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso
Additional InformationOriginally reported at https://github.com/hashicorp/packer/issues/8448
Tagsiso

Activities

mnowak

mnowak

2020-01-23 13:21

reporter   ~0036100

Packer's User Agent seems to be defined here: https://github.com/hashicorp/packer/blob/master/helper/useragent/useragent.go. Currently is starts with "Packer/".

Issue History

Date Modified Username Field Change
2019-12-10 23:04 gtirloni New Issue
2019-12-10 23:04 gtirloni Tag Attached: iso
2020-01-23 13:21 mnowak Note Added: 0036100