Skip to content
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 gopkg.in/yaml.v2 returned error: The requested URL returned error: 502 package gopkg.in/yaml.v2: exit status 1 #27622

Closed
baha-ai opened this issue Sep 11, 2018 · 3 comments

Comments

@baha-ai
Copy link

baha-ai commented Sep 11, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.10.3

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

Darwin/amd64

What did you do?

run
$ go get -u gopkg.in/yaml.v2

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

success

What did you see instead?

cd /Users/{my.username}/work/go-workspace/src/gopkg.in/yaml.v2; git pull --ff-only

remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502
package gopkg.in/yaml.v2: exit status 1

it started happening today locally and on our CI builds

@baha-ai baha-ai changed the title $ go get -u gopkg.in/yaml.v2 # cd /Users/baha.shaaban/work/go-workspace/src/gopkg.in/yaml.v2; git pull --ff-only remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502 package gopkg.in/yaml.v2: exit status 1 $ go get -u gopkg.in/yaml.v2 returned error: The requested URL returned error: 502 package gopkg.in/yaml.v2: exit status 1 Sep 11, 2018
@robcapo
Copy link

robcapo commented Sep 11, 2018

This is also affecting my CI builds. It also happened once yesterday with package golang.org/x/net/html/charset: unrecognized import path "golang.org/x/net/html/charset" (parse https://golang.org/x/net/html/charset?go-get=1: no go-import meta tags ()). Not sure if the two are related, that one was resolved almost immediately.

@baha-ai
Copy link
Author

baha-ai commented Sep 11, 2018

I believe they're related, something happened to the v2 version since yesterday. Our CI builds and local builds are consistently failing since this morning.

@myitcv
Copy link
Member

myitcv commented Sep 11, 2018

There are GitHub issues affecting many things, including gopkg.in resolutions: niemeyer/gopkg#63

The golang.org/x/net/html issues are unrelated to the GitHub issues. @robcapo please can you open a new issue for those, because I've been seeing such intermittent behaviour too.

Closing this issue because the gopkg.in issues are being tracked elsewhere.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants