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

How to set proxy in gx ? #3039

Closed
aronayne opened this issue Aug 4, 2016 · 3 comments
Closed

How to set proxy in gx ? #3039

aronayne opened this issue Aug 4, 2016 · 3 comments
Labels
help wanted Seeking public contribution on this issue topic/gx Topic gx

Comments

@aronayne
Copy link

aronayne commented Aug 4, 2016

Version/Platform/Processor information (from ipfs version --all):0.4.2

Type (bug, feature, meta, test failure, question): feature
Area (api, commands, daemon, fuse, etc): gx
Priority (from P0: functioning, to P4: operations on fire): P4

Description:

Attempting to install go-ipfs from source (running 'make install') I receive :
QmVvJ27GcLaLSXvcB4auk3Gn3xuWK5ti5ENkZ2pCoJEYW4 not found locally, fetching into /Users/user/go/src/gx/ipfs/QmVvJ27GcLaLSXvcB4auk3Gn3xuWK5ti5ENkZ2pCoJEYW4

  • QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP not found locally, fetching into /Users/user/go/src/gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP
  • fetching QmVvJ27GcLaLSXvcB4auk3Gn3xuWK5ti5ENkZ2pCoJEYW4 via ipfs api
  • fetching QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP via ipfs api

This looks fine but I then receive multiple errors (just displaying one here) :

ERROR: from shell.Get(): &url.Error{Op:"Post", URL:"http://v04x.ipfs.io/api/v0/get?arg=QmYvsG72GsfLgUeSojXArjnU6L4Wmwk7wuAxtNLuyXcc1T&encoding=json&stream-channels=true", Err:(*net.OpError)(0xc8201b24b0)}

This appears to be a proxy issue. How to set a proxy within gx ? Can it be set from Makefile ?

@whyrusleeping
Copy link
Member

@adrian-git-hub-user do you use a proxy to access the internet normally?

@whyrusleeping whyrusleeping added the need/author-input Needs input from the original author label Aug 19, 2016
@aronayne
Copy link
Author

aronayne commented Aug 19, 2016

@whyrusleeping yes I use proxy normally. I set http_proxy & https_proxy as ubuntu(14.04) environment variables.

@whyrusleeping whyrusleeping added help wanted Seeking public contribution on this issue topic/gx Topic gx and removed need/author-input Needs input from the original author labels Aug 19, 2016
@Kubuxu
Copy link
Member

Kubuxu commented Apr 4, 2019

We are now using go modules. #6038

@Kubuxu Kubuxu closed this as completed Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking public contribution on this issue topic/gx Topic gx
Projects
None yet
Development

No branches or pull requests

3 participants