-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
WinRM connection err: http response error: 401 - invalid content type #10088
Comments
Thanks for opening an issue -- to help you, we really do need the things requested in the issue template, including:
In your case that means we need to know what your autounattend looks like or how you're setting up WinRM. Often this error crops up when WinRM is not properly configured, or your packer template isn't setting the correct WinRM settings. Check your password, whether WinRM on your guest is configured to use http or https, make sure the ports are right, check whether WinRM on your guest expects ntlm, etc. For some working Packer+ WinRM examples, check out https://github.com/StefanScherer/packer-windows/tree/main/answer_files. If you're struggling to get Packer working for the first time, I'd recommend reaching out to the community forum for help, since more people read that forum than read the issue tracker on GitHub. this issue tracker is generally reserved for bugs, not configuration questions. Thanks! |
Closing since there have been no updates to the issue. If you believe this is still an issue please open a new bug issue with the information requested in the template. |
I was struggling with this few days... |
Doing an automated template build for windows 2019 on VMware, and getting the above referenced error. Below is the output from my packer log.
The text was updated successfully, but these errors were encountered: