-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: unclear error on private GitHub repo: "410 Gone" #43205
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
pkg.go.dev gets its information from the Go module proxy. This is what the proxy says:
That error message is coming either from the proxy or your git server (my machine has no path beginning |
@arp242 The error message is from the git command invoked by |
Ah sjeez, I didn't notice that it's a private repo 🙃 And my local machine has my ssh key, so it worked for that. The message is gives back you to you is super-confusing though; it kind of seems to work except it doesn't. In hindsight, the Disabling the credentials with
Or set the user and password to I'll keep this issue open (with edited title), as it seems to me that there's some room for improvement here. |
The error message is from the cc @bcmills @jayconrod @matloob to see if the @jba Do you have any other plan to enhance the instruction https://go.dev/about#adding-a-package or show more beautified error messages on top of what |
I did
git commit --amend
andgit push --force
and now pkg.go.dev doesn't seem to like the entire package.I forgot I had already pushed this a few months ago, and undoing
--amend
is rather painful, and since no one is using this package anyway I just forced pushed the lot which shouldn't cause any issues except for, well, this 😅Anyway, I made a new commit, and that didn't solve it: I get errors on the new commit as well. I also waited for a few hours, as I remember reading about some caching before, but that doesn't seem to do anything either. I also ran
go clean -modcache
and tried the "Request zgo.at/zcert" button.GONOPROXY=* GONOSUMDB=* go get zgo.at/zcert
works as expected.Package: https://pkg.go.dev/zgo.at/zcert
And also:
The text was updated successfully, but these errors were encountered: