helm icon indicating copy to clipboard operation
helm copied to clipboard

IIS REPO: INSTALLATION FAILED: failed to fetch https://someurl/somechart-1.0.tgz : 406 Not Acceptable

Open davidgemel opened this issue 1 year ago • 1 comments

IIS REPO: INSTALLATION FAILED: failed to fetch https://someurl/somechart-1.0.tgz : 406 Not Acceptable

After updating to the latest helm 3.17:

version.BuildInfo{Version:"v3.17.0", GitCommit:"301108edc7ac2a8ba79e4ebf5701b0b6ce6a31e4", GitTreeState:"clean", GoVersion:"go1.23.4"}

I am not longer able to install my helm chart. I can download manually the url, so it seems to be something specific in the request that helm is making that is different from 3.16 to 3.17.

My IIS Logs:

2025-01-28 09:37:15 10.83.0.136 GET /somechart-1.0.tgz - 443 - {redactedip} Helm/3.16.3 - 200 0 0 219

2025-01-28 10:03:26 10.83.0.136 GET /somechart-1.0.tgz - 443 - {redactedip} Helm/3.17.0 - 406 0 0 81

Just looking for some guidance on fixing this, any help would be greatly appreciated.

Regards, DG

davidgemel avatar Jan 28 '25 14:01 davidgemel

Nevermind I think I have fixed it. My IIS was defaulted the mime type *.tgz to application/x-compressed. For 3.17 I needed to change it to *.tgz application/octet-stream. Once I did that it started serving the files again.

davidgemel avatar Jan 28 '25 14:01 davidgemel