Please use a more recent version of gRPC and Go.

You can find the latest examples 
here: https://github.com/grpc/grpc-go/tree/v1.44.x/examples, and the 
minimum Go version supported by gRPC-Go is Go1.14.

On Friday, January 28, 2022 at 5:15:10 AM UTC-8 changz...@gmail.com wrote:

> Hi, all
> I met a problem when I tried to compile the "HelloWorld" program followed 
> by this[1]. In my environment, the GO version is 1.9. Here are the detailed 
> steps:
>
> 1. Get the lastest grpc code:
>     go get -d -v google.golang.org/grpc/examples/helloworld/greeter_server
>     go get -d -v google.golang.org/grpc/examples/helloworld/greeter_client
> 2. Go to the GOPATH and checkout the grpc repo to v1.10.0
> 3. Try to compile and install gRPC v1.10.0
>      go install -a -v  
> google.golang.org/grpc/examples/helloworld/greeter_server
>
> In the step3, I met these error messages:
> # golang.org/x/net/http2
> /opt/go/src/golang.org/x/net/http2/client_conn_pool.go:302:6: undefined: 
> errors.Is
> /opt/go/src/golang.org/x/net/http2/server.go:240:72: undefined: 
> tls.VersionTLS13
> /opt/go/src/golang.org/x/net/http2/transport.go:417:30: undefined: 
> errors.Is
> /opt/go/src/golang.org/x/net/http2/transport.go:417:45: undefined: 
> os.ErrDeadlineExceeded
> /opt/go/src/golang.org/x/net/http2/transport.go:2076:5: undefined: 
> errors.Is
> /opt/go/src/golang.org/x/net/http2/transport.go:2080:5: undefined: 
> errors.Is
> /opt/go/src/golang.org/x/net/http2/transport.go:2084:5: undefined: 
> errors.Is
>
> So, my question is, does the gRPC v1.10.0 support GO1.9?
>
> Could someone give me some advice?
>
> Thanks
> Zhi Chang
>
> [1]: https://github.com/grpc/grpc-go/tree/v1.10.0/examples
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/da1edfea-76e0-494b-9815-86d31cea7355n%40googlegroups.com.

Reply via email to