-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed as not planned
Closed as not planned
Copy link
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
If the ALL_PROXY
environment variable is set to a non-SOCKS address it results in the proxy: unknown scheme: http
when it instead should ignore it.
- What version of Go are you using (
go version
)?
go1.6.3 via docker - What operating system and processor architecture are you using (
go env
)?
windows/amd64 - What did you do?
Have a httpALL_PROXY
environment variable set and try to run Docker Toolbox, e.g.docker run hello-world
- What did you expect to see?
Docker should work fine, Go should ignore non-SOCKSALL_PROXY
environment variable - What did you see instead?
Docker doesn't work because non-SOCKSALL_PROXY
environment variable is not ignored. The error can be traced back to https://github.com/golang/net/blob/master/proxy/proxy.go#L93.
Workaround: Run unset ALL_PROXY
when you get error.
gocarlos
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.