You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
The packer http data-source errors on any non 200 status codes. Including 201 which is still a valid and successful response.
Reproduction Steps
Create a http data-source and request a backend that returns any 2xx status code except 200. Packer will fail
Thanks for reporting this one to us, I've opened PR to fix this, anything in the 2xx range should not be considered an error.
If merged soon, this will be part of the 1.11.x series which we'll release hopefully soon.
Once merged, there will be a nightly release of Packer by the next day (Americas/Eastern timeline), I suggest you take it for a spin in order to validate this is fixed.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
The packer http data-source errors on any non
200
status codes. Including201
which is still a valid and successful response.Reproduction Steps
Create a http data-source and request a backend that returns any
2xx
status code except200
. Packer will failPacker version
Packer v1.10.3
Simplified Packer Template
Operating system and Environment details
Win 11 Pro, amd64
Log Fragments and crash.log files
Toggle me!
The text was updated successfully, but these errors were encountered: