We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempted to use a .netrc file to provide credentials to pkgsite for use when fetching via a private GOPROXY.
The regular go mod commands are able to do this, so with a properly configured .netrc file the following succeeds:
go mod
GOPROXY="https://goproxy.company.com" go mod download -x github.company.com/org/repo@latest
But attempting to view the documentation of github.company.com/org/repo via pkgsite:
GOPROXY="https://goproxy.company.com" pkgsite -proxy
Fails with 401 authentication errors as the internal/proxy/client.go code doesn't attempt to insert authentication headers, unlike cmd/go which does
pkgsite should be able to use authentication against a private GOPROXY
pkgsite does not pass authentication headers to the http requests it makes to a private GOPROXY
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What did you do?
Attempted to use a .netrc file to provide credentials to pkgsite for use when fetching via a private GOPROXY.
The regular
go mod
commands are able to do this, so with a properly configured .netrc file the following succeeds:But attempting to view the documentation of github.company.com/org/repo via pkgsite:
Fails with 401 authentication errors as the internal/proxy/client.go code doesn't attempt to insert authentication headers, unlike cmd/go which does
What did you expect to see?
pkgsite should be able to use authentication against a private GOPROXY
What did you see instead?
pkgsite does not pass authentication headers to the http requests it makes to a private GOPROXY
The text was updated successfully, but these errors were encountered: