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: go get behind proxy does not work #4152

Closed
chressie opened this issue Sep 25, 2012 · 6 comments
Closed

cmd/go: go get behind proxy does not work #4152

chressie opened this issue Sep 25, 2012 · 6 comments

Comments

@chressie
Copy link
Contributor

What steps will reproduce the problem?
Behind a proxy do:

 http_proxy=http://proxy/ go get code.google.com/p/rsc/cmd/Watch

What is the expected output?
Get code.google.com/p/rsc/cmd/Watch installed in GOPATH.

What do you see instead?
package code.google.com/p/rsc/cmd/Watch: Get
https://code.google.com/p/rsc/source/checkout?repo=: certificate is valid for
*.google.com, google.com, *.youtube.com, youtube.com, *.youtube-nocookie.com, youtu.be,
*.ytimg.com, *.google.com.br, *.google.co.in, *.google.es, *.google.co.uk, *.google.ca,
*.google.fr, *.google.pt, *.google.it, *.google.de, *.google.cl, *.google.pl,
*.google.nl, *.google.com.au, *.google.co.jp, *.google.hu, *.google.com.mx,
*.google.com.ar, *.google.com.co, *.google.com.vn, *.google.com.tr, *.android.com,
android.com, *.googlecommerce.com, googlecommerce.com, *.url.google.com, *.urchin.com,
urchin.com, *.google-analytics.com, google-analytics.com, *.cloud.google.com, goo.gl,
g.co, *.gstatic.com, *.googleapis.cn, not proxy

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Linux

Which version are you using?  (run 'go version')
go version go1.0.3
@bradfitz
Copy link
Contributor

Comment 1:

This issue was closed by revision 1b6d4b5.

Status changed to Fixed.

@gopherbot
Copy link

Comment 2 by ruslan.khusnullin:

Still not working for me:
; HTTP_PROXY='http://127.0.0.1:3128' go get code.google.com/p/rsc/xmpp
package code.google.com/p/rsc/xmpp: Get
https://code.google.com/p/rsc/source/checkout?repo=: certificate is valid for
*.google.com, google.com, *.youtube.com, youtube.com, *.youtube-nocookie.com, youtu.be,
*.ytimg.com, *.google.com.br, *.google.co.in, *.google.es, *.google.co.uk, *.google.ca,
*.google.fr, *.google.pt, *.google.it, *.google.de, *.google.cl, *.google.pl,
*.google.nl, *.google.com.au, *.google.co.jp, *.google.hu, *.google.com.mx,
*.google.com.ar, *.google.com.co, *.google.com.vn, *.google.com.tr, *.android.com,
android.com, *.googlecommerce.com, googlecommerce.com, *.url.google.com, *.urchin.com,
urchin.com, *.google-analytics.com, google-analytics.com, *.cloud.google.com, goo.gl,
g.co, *.gstatic.com, *.googleapis.cn, *.appengine.google.com, not 127.0.0.1
Linux
go version go1.0.3
; cd /usr/local/go
; hg heads |head
changeset:   15062:a5efcd1675eb
tag:         tip
user:        Robert Griesemer <gri@golang.org>
date:        Thu Dec 06 09:47:12 2012 -0800
summary:     fix build: remove a flaky test for now

@davecheney
Copy link
Contributor

Comment 3:

Something is wrong with your go install, your go tool is reporting 1.0.3, yet your
source says it is tracking tip.

@gopherbot
Copy link

Comment 4 by ruslan.khusnullin:

; cd /usr/local
; sudo rm -rf go
; sudo hg clone -u release https://code.google.com/p/go
; cd go/src
; sudo ./all.bash
; which go
/usr/local/go/bin/go
; go version
go version go1.0.3
Should it report another version?

@gopherbot
Copy link

Comment 5 by ruslan.khusnullin:

Oh I'm very sorry, I guess I shouldn't use `-u release` for hg clone, I will redo it now
and pretty sure it will be ok.

@gopherbot
Copy link

Comment 6 by ruslan.khusnullin:

It really works now when I pulled the latest changes, sorry for disturbing, thanks a lot.

@mikioh mikioh changed the title go get behind proxy does not work cmd/go: go get behind proxy does not work Aug 5, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
This issue was closed.
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