Skip to content

cmd/go: fetching dependencies can be very aggressive when going via an HTTP proxy #33669

@errordeveloper

Description

@errordeveloper

What version of Go are you using (go version)?

$ go version
go version go1.12.8 windows/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

windows/amd64

What did you do?

  1. Set http_proxy environment variable
  2. git clone https://github.com/weaveworks/eksctl && cd eksctl
  3. go build ./cmd/eksctl

What did you expect to see?

All dependencies get downloaded and binary gets built. If errors occur, there are a few retries with a back-off.

What did you see instead?

Some dependencies get downloaded, some fail to download with 407 error in git fetch. Binary is not built. I had to rerun go build multiple times before it succeeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions