facebookincubator / katran

A high performance layer 4 load balancer
GNU General Public License v2.0
4.75k stars 504 forks source link

build examlple_grpc error #173

Closed liusy58 closed 2 years ago

liusy58 commented 2 years ago

Hi, sir, I am following the procedure from https://github.com/facebookincubator/katran/blob/main/EXAMPLE.md, aftrer I enter ./build_grpc_client.sh .I got the following error:

package golang.org/x/net/context: unrecognized import path "golang.org/x/net/context": https fetch: Get "https://golang.org/x/net/context?go-get=1": dial tcp 142.251.42.241:443: i/o timeout
package google.golang.org/grpc: unrecognized import path "google.golang.org/grpc": https fetch: Get "https://google.golang.org/grpc?go-get=1": dial tcp 142.251.42.241:443: i/o timeout
package google.golang.org/grpc/codes: unrecognized import path "google.golang.org/grpc/codes": https fetch: Get "https://google.golang.org/grpc/codes?go-get=1": dial tcp 142.251.43.17:443: i/o timeout
package google.golang.org/grpc/status: unrecognized import path "google.golang.org/grpc/status": https fetch: Get "https://google.golang.org/grpc/status?go-get=1": dial tcp 142.251.43.17:443: i/o timeout
package google.golang.org/protobuf/reflect/protoreflect: unrecognized import path "google.golang.org/protobuf/reflect/protoreflect": https fetch: Get "https://google.golang.org/protobuf/reflect/protoreflect?go-get=1": dial tcp 142.251.43.17:443: i/o timeout
package google.golang.org/protobuf/runtime/protoimpl: unrecognized import path "google.golang.org/protobuf/runtime/protoimpl": https fetch: Get "https://google.golang.org/protobuf/runtime/protoimpl?go-get=1": dial tcp 142.251.43.17:443: i/o timeout

My golang version is go version go1.19.1 linux/amd64. Any help?

lima1756 commented 2 years ago

You are having some kind of connection network dial tcp 142.251.42.241:443: i/o timeout so go is not able to retrieve its required packages, take a look into your system configurations or firewall