-
Notifications
You must be signed in to change notification settings - Fork 18k
410 gone during go.mod import #35164
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
The problem is alessiosavi/GoGPUtils#2. To get a more complete and helpful error message, you should visit the URL that returned 410 in the error message you got: https://sum.golang.org/lookup/github.com/alessiosavi/[email protected] It says:
Or set
|
As always, another day, another problem solved by @dmitshur. Thank you for the effort (: |
Another Go version, another ENV variable to care about & set in Dockerfiles 🤣 |
Essentially as @dmitshur pointed out correctly: |
This thread saved me. Thank you. Go tools could really use a bit brushed up error messages. I was really lost with a message like below. I know hardly nothing about the new module-related developments (except that I laud the intent!), and having impenetrable error messages makes it really hard to migrate.
|
Ah, to provide some more hints for people that find this thread: |
Thanks Google for adding default beacons into Golang tools! Opt in by default. Well done! |
@radu-munteanu That is not what is happening here. You may be interested in https://go.googlesource.com/proposal/+/refs/heads/master/design/25530-sumdb.md |
@ianlancetaylor It happened to me with internal company modules, so it is happening. I've got an error that the modules were not found, it said |
@radu-munteanu Reading Contacting 8.8.8.8 doesn't sound right. Please file an issue with complete reproduction instructions. Thanks. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm trying to import a custom golang module that does not contain any other dependencies (go.mod contains only the
module
name and thego
version). Unfortunately, i receive a410 gone
if i try to include the module in other project.The module can be imported with the version v0.0.8, but not with >v0.0.9
Due to the go.mod file, is not possible to replicate on
play.golang.org
, instead, i've created a new repository for that: https://github.com/alessiosavi/testNOTE: changing the module version to v0.0.8, it will work
What did you expect to see?
I expect that importing the module in go.mod (require github.com/alessiosavi/GoGPUtils v0.0.10
) and running a
go clean
, the module can be used among the codeWhat did you see instead?
I receive an error:
Possible related
#34528
#34795
#34402
#34370
###Possible solution
Have an eye on: https://proxy.golang.org/YOUR_MODULE_GITH_URL/@v/VERSION.info
Seems that https://proxy.golang.org/github.com/alessiosavi/!go!g!p!utils/@v/v0.0.9.info
In my case, seems that the error is related to two files that differ only for the case in the name.
The text was updated successfully, but these errors were encountered: