-
Notifications
You must be signed in to change notification settings - Fork 18k
go mod download 404 Not Found for private module #69381
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
Comments
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only. For questions please refer to https://github.com/golang/go/wiki/Questions |
Turned out it's a gitlab bug with access levels using tokens from However, I see it as a big problem that you cannot debug The final solution that helped me was I wanted just a simple thing: add more verbosity to the way request is built by go, but I'm afraid there is no way to do it, and that's a problem. |
@GRbit These are good issues to bring up in a forum, rather than the issue tracker. See https://go.dev/wiki/Questions. Thanks. |
Go version
1.23.1
Output of
go env
in your module/workspace:What did you do?
go mod download -x gitlab.com/nextpax/nextpax-commons/v2@latest
What did you see happen?
What did you expect to see?
I expect that module will be correctly downloaded. Something like
From the same command line curl get 200 OK for this URL
I want to debug what exactly go get does on my local machine, because I can not reproduce this behavior on any other machine. But the only option I have is
-x
option. I also have strace, but it doesn't give much info. The IP addresses are the same, but whatgo mod
writes/reads to gitlab is different. Since it's https it's hard to dive inside to see the real difference.If you could give my any clues on how to debug it, that would be nice.
The text was updated successfully, but these errors were encountered: