Fallback to direct download on any error from proxy.golang.org
Author: gwossumCreated Aug 26, 2026Updated Sep 21, 2026
Labels1.xkind/featureteam/edge
The default GOPROXY setting is https://proxy.golang.org,direct. This will fallback to direct download only on 404 (Not Found) and 410 (Gone) errors. If proxy.golang.org is experiencing other types of outages, then the download does not fallback to direct and CI builds will fail, requiring restarting the CI pipeline.
Changing to GOPROXY=https://proxy.golang.org|direct will cause go to fallback direct on any error downloading from proxy.golang.org. This will prevent CI issues while https://proxy.golang.org is experiencing outages, without completely abandoning the benefits of proxy.golang.org.
Source: influxdata/influxdb