Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Installing currently fails with network error #109

Closed
foolip opened this issue Jan 5, 2017 · 7 comments
Closed

Installing currently fails with network error #109

foolip opened this issue Jan 5, 2017 · 7 comments

Comments

@foolip
Copy link

foolip commented Jan 5, 2017

$ go get github.com/google/skicka
# cd .; git clone https://gopkg.in/gcfg.v1 /usr/local/google/home/foolip/go/src/gopkg.in/gcfg.v1
Cloning into '/usr/local/google/home/foolip/go/src/gopkg.in/gcfg.v1'...
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
fatal: The remote end hung up unexpectedly
package gopkg.in/gcfg.v1: exit status 128

Perhaps the gcfg.v1 repo should be copied, if the hosting of it is not reliable?

@tvierling
Copy link

tvierling commented Jan 5, 2017

This is a fundamental issue with Go itself; offering library imports by network location necessarily is subject to temporary network issues.

gopkg.in is generally quite reliable, and it's working for me as of this writing. HTTP 301 is a redirect, which is not happening now, so probably there was a momentary misconfiguration on the server side.

In particular, this is not an skicka issue.

@foolip
Copy link
Author

foolip commented Jan 5, 2017

It is still happening for me, including if I try git clone https://gopkg.in/gcfg.v1 directly. Is nobody else having this problem?

@tvierling
Copy link

Are you behind a firewall/proxy maybe? Try this and see if you get 200 or 301:

curl -A git/2.0.0 -I https://gopkg.in/gcfg.v1.git

@foolip
Copy link
Author

foolip commented Feb 14, 2017

$ curl -A git/2.0.0 -I https://gopkg.in/gcfg.v1.git
HTTP/1.1 200 OK
Content-Type: text/html
Date: Tue, 14 Feb 2017 03:17:07 GMT

@mmp
Copy link
Contributor

mmp commented Feb 14, 2017 via email

@foolip
Copy link
Author

foolip commented Feb 15, 2017

Looks like that was a very deliberate change in git/git@50d3413 but I guess niemeyer/gopkg#50 is enough to track that, so feel free to close this.

@mmp mmp closed this as completed Feb 17, 2017
@niemeyer
Copy link

No need to change the configuration anymore. We've changed gopkg.in itself to support the new git quirks.

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

No branches or pull requests

4 participants