Skip to content
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

go: tls handshake timeout in 1.24.1 #391635

Open
3 tasks done
corpix opened this issue Mar 20, 2025 · 0 comments
Open
3 tasks done

go: tls handshake timeout in 1.24.1 #391635

corpix opened this issue Mar 20, 2025 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@corpix
Copy link
Contributor

corpix commented Mar 20, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

Got tls handshake timeouts with latest go version (1.24.1), while 1.23.7 works fine.

Steps to reproduce

1.24.1:

 ~ # rm -rf /tmp/athens073634548; mkdir -p /tmp/athens073634548 ; GOPATH=/tmp/athens073634548 GOCACHE=/tmp/athens073634548/cache GO111MODULE=on GODEBUG=netdns=cgo,httptrace=1,tlshandshake=1,http2client=1 GOFLAGS=-v GOPROXY=https://proxy.golang.org,direct /nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1/bin/go mod download -json golang.org/x/tools@v0.25.0
{
	"Path": "golang.org/x/tools",
	"Version": "v0.25.0",
	"Error": "golang.org/x/tools@v0.25.0: Get \"https://proxy.golang.org/golang.org/x/tools/@v/v0.25.0.info\": net/http: TLS handshake timeout"
}

1.23.7:

 ~ # rm -rf /tmp/athens073634548; mkdir -p /tmp/athens073634548 ; GOPATH=/tmp/athens073634548 GOCACHE=/tmp/athens073634548/cache GO111MODULE=on GODEBUG=netdns=cgo,httptrace=1,tlshandshake=1,http2client=1 GOFLAGS=-v GOPROXY=https://proxy.golang.org,direct /nix/store/valwknmr0qzxq70h4ijm9w1jvgc3grsp-go-1.23.7/bin/go mod download -json golang.org/x/tools@v0.25.0
{
	"Path": "golang.org/x/tools",
	"Version": "v0.25.0",
	"Info": "/tmp/athens073634548/pkg/mod/cache/download/golang.org/x/tools/@v/v0.25.0.info",
	"GoMod": "/tmp/athens073634548/pkg/mod/cache/download/golang.org/x/tools/@v/v0.25.0.mod",
	"Zip": "/tmp/athens073634548/pkg/mod/cache/download/golang.org/x/tools/@v/v0.25.0.zip",
	"Dir": "/tmp/athens073634548/pkg/mod/golang.org/x/tools@v0.25.0",
	"Sum": "h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE=",
	"GoModSum": "h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=",
	"Origin": {
		"VCS": "git",
		"URL": "https://go.googlesource.com/tools",
		"Hash": "7398f36f576504906456476c2f6251b76feb664e",
		"Ref": "refs/tags/v0.25.0"
	}
}

Expected behaviour

No tls handhake timeouts, I expecting go mod download to finish successfully just like it does in 1.23.7

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

root@alexandria ~# nix-shell -p nix-info --run "nix-info -m"

  • system: "x86_64-linux"
  • host os: Linux 6.6.71, NixOS, 25.05 (Warbler), 25.05pre-git
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/wsvzs7f84jryvwrkdsq8ww0vqd4mf12d-nixpkgs

Notify maintainers

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@corpix corpix added the 0.kind: bug Something is broken label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant