-
-
Notifications
You must be signed in to change notification settings - Fork 600
[Bug]: go 1.20.6: "http: invalid Host header, host port waiting failed" #1359
Copy link
Copy link
Closed
Labels
bugAn issue with the libraryAn issue with the library
Description
Testcontainers version
0.21.0
Using the latest Testcontainers version?
Yes
Host OS
OSX and Linux
Host arch
OSX arm64, Linux amd64
Go version
1.20.6
What happened?
With Go 1.20.6, I start getting an error "http: invalid Host header, host port waiting failed" when setting up new containers. From doing some debugging, it seems to be coming from the ryuk setup. This appears to be the relevant change in the standard library: golang/go#61076, since it introduces that check that returns "invalid Host header". From doing the debugging in the screenshot below, the Host that Go is choking on is "/var/run/docker.sock".
Relevant log output
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn issue with the libraryAn issue with the library


