TK for Windows with download_url doesn't work with Artifactory Basic Auth
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 13
- Forks
- 55
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 8
Description
The customer is hosting chef-client “msi” and “rpms” on Artifactory generic repo which needs authentication(anonymous read not allowed).
The line in kitchen.yml
download_url: "https://:<API_KEY>@<ARTIFACTORY_URL>/artifactory/ent-generic-local/chef_packages/chef-client.rpm"
works on Linux TK instance, but the same line
download_url: "https://:<API_KEY>@<ARTIFACTORY_URL>/artifactory/ent-generic-local/chef_packages/chef-client.msi"
fails saying authentication required 401 error while downloading on windows-2016. So why basic auth works on Linux and not on Windows? (edited)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Investigate how download_url authentication is handled for Windows MSI downloads compared with Linux RPM downloads, using the reported Artifactory Basic Auth URL and the Windows 401 response as the starting point. Done means an authenticated Windows download succeeds with the same credentials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100