x/tools/gopls: Default setting of GOPROXY=off causes problems with downloading modules #53313
Labels
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
gopls version
go env
What did you do?
Hi, I recently upgraded from a gopls version from over a year ago (0.1.0). I was getting an error
module lookup disabled by GOPROXY=off
but my project (kubernetes) has no private repos. (It does use a mod file with replace directives and a vendor directory).As a fix, I was able to fix the problem via toggling
allowImplicitNetworkAccess
, but it looks like this is not recommended. I'm not sure if this is a problem with my environment or the go.mod for Kubernetes (everything works smoothly for other repos).Editor and settings
Emacs, using lsp-mode and gopls
Logs
The text was updated successfully, but these errors were encountered: