You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure your gRPC-Go version is `require`d at the appropriate version in
86
-
the same module containing the generated `.pb.go` files. For example,
87
-
`SupportPackageIsVersion6` needs `v1.27.0`, so in your `go.mod` file:
88
-
89
-
```go
90
-
module <your module name>
91
-
92
-
require (
93
-
google.golang.org/grpc v1.27.0
94
-
)
95
-
```
96
-
97
-
#### If you are *not* using Go modules:
98
-
99
-
Update the `proto` package, gRPC package, and rebuild the `.proto` files:
100
-
101
-
```sh
102
-
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
103
-
go get -u google.golang.org/grpc
104
-
protoc --go_out=plugins=grpc:. *.proto
105
-
```
68
+
Please update to the latest version of gRPC-Go using
69
+
`go get google.golang.org/grpc`.
106
70
107
71
### How to turn on logging
108
72
@@ -121,9 +85,11 @@ possible reasons, including:
121
85
1. mis-configured transport credentials, connection failed on handshaking
122
86
1. bytes disrupted, possibly by a proxy in between
123
87
1. server shutdown
124
-
1. Keepalive parameters caused connection shutdown, for example if you have configured
125
-
your server to terminate connections regularly to [trigger DNS lookups](https://github.com/grpc/grpc-go/issues/3170#issuecomment-552517779).
126
-
If this is the case, you may want to increase your [MaxConnectionAgeGrace](https://pkg.go.dev/google.golang.org/grpc/keepalive?tab=doc#ServerParameters),
88
+
1. Keepalive parameters caused connection shutdown, for example if you have
89
+
configured your server to terminate connections regularly to [trigger DNS
0 commit comments