-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/go: go get/mod tidy panics with internal error: net token acquired but not released #61877
Comments
Thanks for the report! Could you please paste the text of the error instead of a screenshot? The error messages clipped off the right side may be needed to figure out what code path is involved. |
@bcmills Thanks a lot ! using private repos,set GONOPROXY='gitlab.****.com', .gitconfig file: [url "https://root:**@GitLab..com/"] run go mod tidy to get from private repo, report error : panic: internal error: net token acquired but not released goroutine 17 [running]: run go get -u got same panic, but run go mod download , download from private repos is ok . |
Can you post (redacted) output from |
|
Thanks! That |
|
@gopherbot, please backport to Go 1.21. This is a regression that triggers an internal error. |
Backport issue(s) opened: #61905 (for 1.21). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Change https://go.dev/cl/518015 mentions this issue: |
Change https://go.dev/cl/518016 mentions this issue: |
The URL return value from the fetch helper in web.get was always either the passed in URL (on success) or nil (on failure). Remove it to reduce code complexity. For #61877. Change-Id: I0ce4602b921d1c996aa988e7d3f83996511ccd72 Reviewed-on: https://go-review.googlesource.com/c/go/+/518016 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com>
Change https://go.dev/cl/518395 mentions this issue: |
…en an HTTP request fails due to CheckRedirect Updates #61877. Fixes #61905. Change-Id: I38c63565aaf9dc9b0c8085974521daccfbcbc790 Reviewed-on: https://go-review.googlesource.com/c/go/+/518015 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> (cherry picked from commit 8cb5c55) Reviewed-on: https://go-review.googlesource.com/c/go/+/518395
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The text was updated successfully, but these errors were encountered: