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 get -u cloud.google.com/go/ fails "unrecognized import path "cloud.google.com/go"" #820
Comments
As a fellow user:
go get -v -u cloud.google.com/go
Fetching https://cloud.google.com/go?go-get=1
Parsing meta tags from https://cloud.google.com/go?go-get=1 (status code
200)
cloud.google.com/go (download)
Is there an intermediate proxy that might be interfering?
…On Mon, Dec 4, 2017 at 3:04 PM MacRae Linton ***@***.***> wrote:
It appears that the website cloud.google.com/go has gone down.
I can't build my projects because an import for "cloud.google.com/go"
doesn't download anything. The site https://cloud.google.com/go no longer
has the required meta tag to point to the repo.
Please resolve this, my build process is broken right now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#820>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABIcBnmPu-4IKuuDQIwomMT0SBQQdIOks5s9HoVgaJpZM4Q1dhk>
.
|
$ go get -v -u cloud.google.com/go |
that site was 404 for me for a minute, and when I grep through the page returned currently I don't see any meta tags. |
I've confirmed that the problem appears to be missing go import tags: From <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="golang.org/x/net git https://go.googlesource.com/net">
<meta name="go-source" content="golang.org/x/net https://github.com/golang/net/ https://github.com/golang/net/tree/master{/dir} https://github.com/golang/net/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://godoc.org/golang.org/x/net">
</head> Equivalent section on |
Hey @broady, this is bad. Please escalate. Looks like the URL path canonicalization ( |
FWIW, I filed an internal bug about this. |
And this is why we should vendor the internet before building software? |
@ankurcha Also breaks vendoring: dep ensure -v --vendor-only
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export cloud.google.com/go: unable to deduce repository and source type for "cloud.google.com/go": unable to read metadata: go-import metadata not found I appreciate your snark, but even that breaks 😉 |
@timfallmk, it breaks updating vendored deps, but not people who've already vendored their deps and just want to hack on & rebuild their own code. |
Sorry didn't mean to be snarky. Just spent a good half an hour trying to figure out what broke my day long roll. :-/ Actually, I also noticed it when my |
@bradfitz Fair enough. It's a fine distinction. Unfortunately, it also breaks (at least for |
If someone is using glide for vendoring, then adding something like:
will help as a temporary workaround. |
We've found the problem and are working on a solution. |
This should be fixed. Ping this issue if it's still a problem. |
Thanks all! |
I am having the same issue described. If I use the -insecure flag, I get the missing meta-tag: go get -v -u -insecure cloud.google.com/go/... |
@scottpettyjohn, looks like you're having a different problem. Also, this issue is closed and almost a year old. Can you file a new bug? We don't track old, closed bugs. You might be missing a ca-certificates package or something, but you should include details about your OS & version in a new bug you file (not here). |
Having this again:
|
Thank you for the report. Unfortunately, I'm not seeing the error right now. Do you have a proxy enabled? That would sidestep this issue in the future.
|
Locking this issue. If you see something similar, please open a new bug. |
It appears that the website cloud.google.com/go has been taken down.
I can't build my projects because an import for "cloud.google.com/go" doesn't download anything. The site https://cloud.google.com/go no longer has the required meta tag to point to the repo.
Please resolve this, my build process is broken right now.
The text was updated successfully, but these errors were encountered: