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

Osv.dev fails to build #1767

Closed
madberries opened this issue Oct 30, 2023 · 1 comment
Closed

Osv.dev fails to build #1767

madberries opened this issue Oct 30, 2023 · 1 comment

Comments

@madberries
Copy link

I followed the steps listed under docs/README.md and I am unable to build this repository.

To Reproduce
Steps to reproduce the behavior:

  1. git clone --recursive https://github.com/google/osv.dev.git
  2. cd osv.dev
    git submodule update --init --recursive
  3. go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest

When running step 3, I get the following error:

$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
go: github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest: module github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2: Get "https://proxy.golang.org/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/@v/list": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:38289->[::1]:53: read: connection refused

It seems that I also get similar connection issues when running go mod download.

I am running on Arch Linux and go version: go version go1.21.3 linux/amd64

@andrewpollock
Copy link
Contributor

I think this may be a local networking issue. I tried it from my Cloud Shell:

$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading google.golang.org/grpc v1.58.0
go: downloading github.com/golang/glog v1.1.0
go: downloading golang.org/x/text v0.13.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d
go: downloading google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d

See:

for further details on how to not use the Go proxy if you're in an environment that has outbound network ACLs or other connectivity issues preventing you from using it.

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

No branches or pull requests

2 participants