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

cmd/go: unable to download gopkg.in/gcfg.v1 #16613

Closed
pkhadka56 opened this issue Aug 5, 2016 · 9 comments
Closed

cmd/go: unable to download gopkg.in/gcfg.v1 #16613

pkhadka56 opened this issue Aug 5, 2016 · 9 comments

Comments

@pkhadka56
Copy link

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    1.6.3
  2. What operating system and processor architecture are you using (go env)?
    GOARCH="amd64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="linux"
    GOOS="linux"
    GOPATH="/root/work"
    GORACE=""
    GOROOT="/root/go"
    GOTOOLDIR="/root/go/pkg/tool/linux_amd64"
    GO15VENDOREXPERIMENT="1"
    CC="gcc"
    GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
    CXX="g++"
    CGO_ENABLED="1"
  3. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    A link on play.golang.org is best.

go get -u -v gopkg.in/gcfg.v1

  1. What did you expect to see?
    well it should run successfully but it didnt
  2. What did you see instead?

FULL DEATLAIL:

go get -u -v gopkg.in/gcfg.v1

Fetching https://gopkg.in/gcfg.v1?go-get=1
Parsing meta tags from https://gopkg.in/gcfg.v1?go-get=1 (status code 200)
get "gopkg.in/gcfg.v1": found meta tag main.metaImport{Prefix:"gopkg.in/gcfg.v1", VCS:"git", RepoRoot:"https://gopkg.in/gcfg.v1"} at https://gopkg.in/gcfg.v1?go-get=1
gopkg.in/gcfg.v1 (download)

My real problem was downloading another but it also stuck here:

go get -u -v github.com/paulstuart/influxsnmp

github.com/paulstuart/influxsnmp (download)
github.com/influxdata/influxdb (download)
github.com/kardianos/osext (download)
github.com/paulstuart/snmputil (download)
github.com/hashicorp/go-immutable-radix (download)
github.com/hashicorp/golang-lru (download)
github.com/pkg/errors (download)
github.com/soniah/gosnmp (download)
Fetching https://gopkg.in/gcfg.v1?go-get=1
Parsing meta tags from https://gopkg.in/gcfg.v1?go-get=1 (status code 200)
get "gopkg.in/gcfg.v1": found meta tag main.metaImport{Prefix:"gopkg.in/gcfg.v1", VCS:"git", RepoRoot:"https://gopkg.in/gcfg.v1"} at https://gopkg.in/gcfg.v1?go-get=1
gopkg.in/gcfg.v1 (download)

Any help?

@broady
Copy link
Contributor

broady commented Aug 5, 2016

I can't reproduce this, does it hang? I can't see an error in your output.

@broady broady changed the title unable to download gopkg.in/gcfg.v1 cmd/go: unable to download gopkg.in/gcfg.v1 Aug 5, 2016
@pkhadka56
Copy link
Author

yes it stuck there.

go get -u -v gopkg.in/gcfg.v1

Fetching https://gopkg.in/gcfg.v1?go-get=1
Parsing meta tags from https://gopkg.in/gcfg.v1?go-get=1 (status code 200)
get "gopkg.in/gcfg.v1": found meta tag main.metaImport{Prefix:"gopkg.in/gcfg.v1", VCS:"git", RepoRoot:"https://gopkg.in/gcfg.v1"} at https://gopkg.in/gcfg.v1?go-get=1
gopkg.in/gcfg.v1 (download)

[after this nothing happens]

@pkhadka56
Copy link
Author

FYI I was following http://lkhill.com/using-influxdb-grafana-to-display-network-statistics/

You will find steps I am followingin "Influxsnmp" section.

@broady
Copy link
Contributor

broady commented Aug 5, 2016

What happens when you run git clone https://gopkg.in/gcfg.v1 gcfg? (anywhere)

@pkhadka56
Copy link
Author

current output:

git clone https://gopkg.in/gcfg.v1 gcfg

Initialized empty Git repository in /root/gcfg/.git/

Hmm nothing is happening. can we enable verbose mode?

@broady
Copy link
Contributor

broady commented Aug 5, 2016

I think you should take it up with the gopkg.in folks. Looks like it's not
related to "go get".

On Aug 4, 2016 9:42 PM, "prakash khadka" notifications@github.com wrote:

current output:

git clone https://gopkg.in/gcfg.v1 gcfg

Initialized empty Git repository in /root/gcfg/.git/

Hmm nothing is happening. can we enable verbose mode?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16613 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABhlsv4t0PIXGpng0hokKpyKTLpoYefks5qcr9LgaJpZM4JdVto
.

@pkhadka56
Copy link
Author

Hmm. Thanks.

@davecheney
Copy link
Contributor

This issue is sometimes caused by a .gitconfig line that redirects https://
to ssh:// and then git hangs because it's waiting for you to type the
passphrase to your ssh key.

On Fri, 5 Aug 2016, 14:22 Chris Broadfoot notifications@github.com wrote:

I can't reproduce this, does it hang? I can't see an error in your output.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16613 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA1aBJvD-cRspPbITfAu19REVCkETks5qcrqKgaJpZM4JdVto
.

@justinkillen
Copy link

Upgrading git seemed to fix this for me

@golang golang locked and limited conversation to collaborators Oct 25, 2017
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

5 participants