Skip to content

proxy.golang.org: Failed to connect to github.com port 443: Connection refused #72121

New issue

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

Closed
troian opened this issue Mar 6, 2025 · 26 comments
Closed
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Other None of the above. proxy.golang.org

Comments

@troian
Copy link

troian commented Mar 6, 2025

proxy unable to connect to github.com and fetch new version

curl https://proxy.golang.org/github.com/akash-network/cosmos-sdk/@v/v0.45.16-akash.3.mod                                                            
not found: github.com/akash-network/cosmos-sdk@v0.45.16-akash.3: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/9d41348d922b05808134557d6daaee7f11b2589dedd134c83a0317e5a8c68ec7: exit status 128:
	fatal: unable to access 'https://github.com/akash-network/cosmos-sdk/': Failed to connect to github.com port 443: Connection refused

looks like this issue was happening earlier today #72118

@seankhliao
Copy link
Member

seems to be temporary, but whatever the cause, it's GitHub's load balancer that's the one that rejects the connection, I don't think there's much that can be done about it.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2025
@gabyhelp gabyhelp added the Other None of the above. label Mar 6, 2025
@mholt
Copy link

mholt commented Mar 6, 2025

Still happening here, 15 hours later. I can push and pull and use GitHub just fine, and GitHubStatus.com reports no issues.

$ go mod tidy
go: downloading github.com/caddyserver/certmagic v0.22.0
go: github.com/caddyserver/caddy/v2 imports
        github.com/caddyserver/certmagic: github.com/caddyserver/certmagic@v0.22.0: verifying module: github.com/caddyserver/certmagic@v0.22.0: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go tested by
        github.com/quic-go/quic-go.test imports
        github.com/onsi/gomega: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go/http3 tested by
        github.com/quic-go/quic-go/http3.test imports
        github.com/onsi/gomega/types: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        go.uber.org/zap tested by
        go.uber.org/zap.test imports
        go.uber.org/goleak: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddyhttp/templates imports
        github.com/alecthomas/chroma/v2/formatters/html tested by
        github.com/alecthomas/chroma/v2/formatters/html.test imports
        github.com/alecthomas/assert/v2: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddyhttp/templates imports
        gopkg.in/yaml.v3 tested by
        gopkg.in/yaml.v3.test imports
        gopkg.in/check.v1: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddyhttp/tracing imports
        go.opentelemetry.io/otel/propagation tested by
        go.opentelemetry.io/otel/propagation.test imports
        github.com/google/go-cmp/cmp: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority tested by
        github.com/smallstep/certificates/authority.test imports
        github.com/smallstep/assert: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/prometheus/client_golang/prometheus imports
        github.com/prometheus/common/model tested by
        github.com/prometheus/common/model.test imports
        github.com/google/go-cmp/cmp/cmpopts: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/cmd imports
        go.uber.org/automaxprocs/maxprocs imports
        go.uber.org/automaxprocs/internal/runtime tested by
        go.uber.org/automaxprocs/internal/runtime.test imports
        github.com/prashantv/gostub: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddyhttp/templates imports
        github.com/Masterminds/sprig/v3 imports
        github.com/spf13/cast tested by
        github.com/spf13/cast.test imports
        github.com/frankban/quicktest: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddyhttp/templates imports
        github.com/yuin/goldmark-highlighting/v2 imports
        github.com/alecthomas/chroma/v2/lexers tested by
        github.com/alecthomas/chroma/v2/lexers.test imports
        github.com/alecthomas/repr: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/certificates/acme imports
        github.com/smallstep/go-attestation/attest tested by
        github.com/smallstep/go-attestation/attest.test imports
        github.com/google/go-tpm-tools/simulator: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/certificates/acme tested by
        github.com/smallstep/certificates/acme.test imports
        go.step.sm/crypto/tpm/storage imports
        github.com/peterbourgon/diskv/v3: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/certificates/acme tested by
        github.com/smallstep/certificates/acme.test imports
        go.step.sm/crypto/tpm/storage imports
        github.com/schollz/jsonstore: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go imports
        github.com/onsi/ginkgo/v2/ginkgo imports
        github.com/onsi/ginkgo/v2/ginkgo/command tested by
        github.com/onsi/ginkgo/v2/ginkgo/command.test imports
        github.com/onsi/gomega/gbytes: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go imports
        github.com/onsi/ginkgo/v2/ginkgo imports
        github.com/onsi/ginkgo/v2/types tested by
        github.com/onsi/ginkgo/v2/types.test imports
        github.com/onsi/gomega/format: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go imports
        github.com/onsi/ginkgo/v2/ginkgo imports
        github.com/onsi/ginkgo/v2/types tested by
        github.com/onsi/ginkgo/v2/types.test imports
        github.com/onsi/gomega/ghttp: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go imports
        github.com/onsi/ginkgo/v2/ginkgo tested by
        github.com/onsi/ginkgo/v2/ginkgo.test imports
        github.com/onsi/ginkgo/v2/internal/test_helpers imports
        github.com/onsi/gomega/gcustom: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2 imports
        github.com/quic-go/quic-go imports
        github.com/onsi/ginkgo/v2/ginkgo tested by
        github.com/onsi/ginkgo/v2/ginkgo.test imports
        github.com/onsi/ginkgo/v2/internal/test_helpers imports
        github.com/onsi/gomega/gstruct: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/cli-utils/ui imports
        github.com/chzyer/readline tested by
        github.com/chzyer/readline.test imports
        github.com/chzyer/test: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/awskms imports
        github.com/aws/aws-sdk-go-v2/config: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/awskms imports
        github.com/aws/aws-sdk-go-v2/service/kms: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/awskms imports
        github.com/aws/aws-sdk-go-v2/service/kms/types: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/cloudkms imports
        cloud.google.com/go/kms/apiv1: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/cloudkms imports
        cloud.google.com/go/kms/apiv1/kmspb: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/cloudkms imports
        github.com/googleapis/gax-go/v2: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki imports
        github.com/smallstep/certificates/authority imports
        go.step.sm/crypto/kms tested by
        go.step.sm/crypto/kms.test imports
        go.step.sm/crypto/kms/cloudkms imports
        google.golang.org/api/option: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/postgresql imports
        github.com/jackc/pgx/v4 tested by
        github.com/jackc/pgx/v4.test imports
        github.com/cockroachdb/apd: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/postgresql imports
        github.com/jackc/pgx/v4 tested by
        github.com/jackc/pgx/v4.test imports
        github.com/gofrs/uuid: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/postgresql imports
        github.com/jackc/pgx/v4 imports
        github.com/jackc/pgconn tested by
        github.com/jackc/pgconn.test imports
        github.com/jackc/pgmock: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/postgresql imports
        github.com/jackc/pgx/v4 imports
        github.com/jackc/pgtype tested by
        github.com/jackc/pgtype.test imports
        github.com/lib/pq: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/badger/v2 imports
        github.com/dgraph-io/badger/v2 imports
        github.com/dgraph-io/badger/v2/y imports
        github.com/cespare/xxhash tested by
        github.com/cespare/xxhash.test imports
        github.com/OneOfOne/xxhash: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused
go: github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/nosql imports
        github.com/smallstep/nosql/badger/v2 imports
        github.com/dgraph-io/badger/v2 imports
        github.com/dgraph-io/badger/v2/y imports
        github.com/cespare/xxhash tested by
        github.com/cespare/xxhash.test imports
        github.com/spaolacci/murmur3: github.com/caddyserver/certmagic@v0.22.0: verifying go.mod: github.com/caddyserver/certmagic@v0.22.0/go.mod: reading https://sum.golang.org/lookup/github.com/caddyserver/certmagic@v0.22.0: 404 Not Found
        server response:
        not found: github.com/caddyserver/certmagic@v0.22.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b23b06a42c52021c647f7a2d2e88fbbd00ae7bbfa9562e860b588980d1e28f9b: exit status 128:
                fatal: unable to access 'https://github.com/caddyserver/certmagic/': Failed to connect to github.com port 443: Connection refused

@mvdan mvdan reopened this Mar 6, 2025
@mholt
Copy link

mholt commented Mar 6, 2025

More information:

go get (and go mod tidy, etc) work again after about 30 minutes.

pkg.go.dev still does not have the new versions, even after 30 minutes.

Image

Not really sure what is going on here, since the issue is clearly not local or intermittent -- but the 30 minute thing seems oddly specific. And I'm not sure why it doesn't apply to the Go package docs. Either the code can be accessed or it can't, right?

I'm supposing this is an issue with the Go module proxy, since GitHub hasn't had any connectivity issues on my end, or on their status page, in the last few days.

@gabyhelp
Copy link

gabyhelp commented Mar 6, 2025

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@JunyangShao
Copy link
Contributor

CC @golang/tools-team.

@ldemailly
Copy link

ldemailly commented Mar 6, 2025

Still an issue, 3 tags done and none working/all having that cached connection error

I don't think connection error should be cached for 1/2h or not retried

go: fortio.org/progressbar@v0.1.3: verifying module: fortio.org/progressbar@v0.1.3: reading https://sum.golang.org/lookup/fortio.org/progressbar@v0.1.3: 404 Not Found
        server response:
        not found: fortio.org/progressbar@v0.1.3: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/b9cd86b48fce1d705077645c1732dfb008bc75c92892a5efd99cbee5bdea8d7f: exit status 128:
                fatal: unable to access 'https://github.com/fortio/progressbar/': Failed to connect to github.com port 443: Connection refused

@ldemailly
Copy link

Thanks whoever kicked the thing it started working again now (or maybe it did because I pulled a specific sha first)

@ldemailly
Copy link

Though https://proxy.golang.org/fortio.org/progressbar/@latest is still broken :-(

@seankhliao seankhliao marked this as a duplicate of #72147 Mar 6, 2025
@vault-thirteen
Copy link

Still broken. Please, repair it. Thank you.

@findleyr
Copy link
Member

findleyr commented Mar 7, 2025

@mholt I believe there's a 30m cache of errors. If there were transient github connectivity issues, they may persist for that long.

pkg.go.dev on the other hand has a work queue, which can sometimes get backed up. It looks like https://pkg.go.dev/github.com/caddyserver/certmagic@v0.22.0 is there now.

@vault-thirteen: can you please clarify what is still broken? This issue is reporting ingestion issues, perhaps related to connectivity between Google and GitHub. With which modules are you experiencing problems?

@findleyr
Copy link
Member

findleyr commented Mar 7, 2025

@vault-thirteen
Copy link

@findleyr

https://sum.golang.org/lookup/github.com/vault-thirteen/auxie@v0.28.4

Image

That git tag was added more than an hour ago and it is still not visible for Golang.

@ldemailly
Copy link

ldemailly commented Mar 7, 2025

@findleyr

can you please clarify what is still broken?

this:

Though https://proxy.golang.org/fortio.org/progressbar/@latest is still broken :-(

@devhaozi
Copy link

devhaozi commented Mar 7, 2025

The problem still exists, I had to run go env -w GOSUMDB=off to temporarily disable sumdb.

not found: github.com/gofiber/fiber/v3@v3.0.0-beta.4.0.20250307072324-4177ab4086a9: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/059a4c63752f0c0d7c7a637865cf84d9505f8609928411035d93630759ef97d9: exit status 128:
	fatal: unable to access 'https://github.com/gofiber/fiber/': Failed to connect to github.com port 443: Connection refused

@jamesdube
Copy link

This worked for me:

go env -w GOPROXY=direct
go env -w GOSUMDB=off

@3052

This comment has been minimized.

@findleyr
Copy link
Member

findleyr commented Mar 7, 2025

Hi all, while we always have some flakiness in fetching from origin servers, the responses here indicate more connectivity issues than normal. I've investigated a bit, and have a few leads as to what could be causing this. I'm currently attempting one mitigation, but if it doesn't work, further intervention will have to wait until Monday.

I see that many of the failing versions are eventually being fetched (for example, both https://proxy.golang.org/fortio.org/progressbar/@latest and https://sum.golang.org/lookup/github.com/vault-thirteen/auxie@v0.28.4 are now there).

As others have pointed out, fetching directly from the origin server is always an available workaround, though it is generally faster and safer to fetch from the proxy. Setting GOPROXY=direct and GOSUMDB=off in your environment means that all modules, even those that are already hosted in the proxy, will be fetched from the origin server, and sumdb verification is disabled. This can significantly slow down builds, and bypasses the repeatability guarantees provided by the sumdb.

@vault-thirteen
Copy link

@findleyr

The problem is not fixed. I started updating the chain of dependencies and see that something is broken again.

https://sum.golang.org/lookup/github.com/vault-thirteen/!simple-!file-!server@v0.16.3

Image

@rad12000

This comment has been minimized.

@andydotxyz

This comment has been minimized.

@findleyr
Copy link
Member

findleyr commented Mar 7, 2025

The problem is not fixed.

@vault-thirteen understood. Unfortunately, our next step in investigating this will require a rollout, and due to the timing this will likely have to wait until Monday.

Versions are still flowing from GitHub, at a similar rate to a few days ago, so it's not yet clear to me why some seem to be significantly more flaky.

@trakhimenok
Copy link

Should the go get fallback to a a direct retrieval in case if proxy.goland.org failed?

@andydotxyz
Copy link
Contributor

Should the go get fallback to a a direct retrieval in case if proxy.goland.org failed?

It feels like that would be a nice to have. I understand the security implications but it seems a little unreasonable to have builds fail just because a GitHub limit was hit internally to the Go sum server systems...

@findleyr
Copy link
Member

From logs, it looks like these errors are much less frequent after a deployment today, and all of the versions mentioned above have been fetched.

If people are still experiencing this with github.com modules, please let me know the failing module name and version and I'll take a look. Otherwise, I will close this tomorrow. Thanks.

@ldemailly
Copy link

That's great news - can you share what was fixed/changed or a post mortem result?
tia

@findleyr
Copy link
Member

@ldemailly we still don't fully understand the root cause. However, our automated deployments of the service responsible for ingesting new module versions were stalled, due to an infrastructure issue. The timing was suspicious: it's possible that the longer-than-usual uptime of the previous deployment could have led to some form of resource exhaustion.

...except that it seems like certain modules were more affected than others, indicating some sort of throttling by Github.

In any case, I unblocked our deployments, and the problem seems to have subsided. We will have to keep an eye out for more reports, and I'll discuss with other team members when they are back from vacation.

Closing as this seems to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Other None of the above. proxy.golang.org
Projects
None yet
Development

No branches or pull requests