Created
December 5, 2015 20:52
-
-
Save dschulz/97eae51666d9b86e3108 to your computer and use it in GitHub Desktop.
Error getting golang.org/x/ packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go build | |
acme/crypto.go:23:9: cannot find package "golang.org/x/crypto/ocsp" in any of: | |
/usr/local/go/src/golang.org/x/crypto/ocsp (from $GOROOT) | |
/home/dschulz/Golang/src/golang.org/x/crypto/ocsp (from $GOPATH) | |
acme/crypto.go:24:9: cannot find package "golang.org/x/crypto/sha3" in any of: | |
/usr/local/go/src/golang.org/x/crypto/sha3 (from $GOROOT) | |
/home/dschulz/Golang/src/golang.org/x/crypto/sha3 (from $GOPATH) | |
$ | |
$ | |
$ curl -v "https://golang.org/x/crypto/ocsp?go-get=1" | |
* Trying 64.233.186.141... | |
* Trying 2800:3f0:4003:c01::8d... | |
* Immediate connect fail for 2800:3f0:4003:c01::8d: Network is unreachable | |
* Connected to golang.org (64.233.186.141) port 443 (#0) | |
* Initializing NSS with certpath: sql:/etc/pki/nssdb | |
* CAfile: /etc/pki/tls/certs/ca-bundle.crt | |
CApath: none | |
* ALPN, server accepted to use http/1.1 | |
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
* Server certificate: | |
* subject: CN=misc-sni.google.com,O=Google Inc,L=Mountain View,ST=California,C=US | |
* start date: Nov 26 00:33:51 2015 GMT | |
* expire date: Feb 23 00:00:00 2016 GMT | |
* common name: misc-sni.google.com | |
* issuer: CN=Google Internet Authority G2,O=Google Inc,C=US | |
> GET /x/crypto/ocsp?go-get=1 HTTP/1.1 | |
> Host: golang.org | |
> User-Agent: curl/7.43.0 | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
< Content-Type: text/html; charset=utf-8 | |
< Date: Sat, 05 Dec 2015 20:49:14 GMT | |
< Server: Google Frontend | |
< Content-Length: 606 | |
< Alternate-Protocol: 443:quic,p=0 | |
< Alt-Svc: clear | |
< | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="go-import" content="golang.org/x/crypto git https://go.googlesource.com/crypto"> | |
<meta name="go-source" content="golang.org/x/crypto https://github.com/golang/crypto/ https://github.com/golang/crypto/tree/master{/dir} https://github.com/golang/crypto/blob/master{/dir}/{file}#L{line}"> | |
<meta http-equiv="refresh" content="0; url=https://godoc.org/golang.org/x/crypto/ocsp"> | |
</head> | |
<body> | |
Nothing to see here; <a href="https://godoc.org/golang.org/x/crypto/ocsp">move along</a>. | |
</body> | |
</html> | |
* Connection #0 to host golang.org left intact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The relevant part: