"http: invalid Host header" error while executing a command in Pod

Solved :v:
The root of the problem is the known Golang 1.20.6 Issue which I’ve used for building cri-dockerd.

Using Go v1.20.5 instead of v.1.20.6 is the solution for me.

I had to totally remove the Cri-Docker service from the host and rebuild/reinstall it again.

1 Like