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
I've created a new project and generated 1 service.
when I run grpcurl -plaintext 0.0.0.0:3000 list, the server shows Failed to extract ServerMetadata from context
grapi 0.3.2
The text was updated successfully, but these errors were encountered:
To receive gRPC request, I add grapiserver.WithGrpcAddr like below.
@@ -12,6 +12,7 @@ func run() error {
s := grapiserver.New(
grapiserver.WithDefaultLogger(),
+ grapiserver.WithGrpcAddr("tcp","localhost:3001"),
grapiserver.WithServers(
// TODO
),
and logs
$ grapi server ➜ server ▸ Building... ▸ Starting...WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. A future release of golang/protobuf will delete this package, which has long been excluded from the compatibility promise.INFO: 2021/02/22 15:04:15 [core] parsed scheme: ""INFO: 2021/02/22 15:04:15 gRPC server is starting 127.0.0.1:3001INFO: 2021/02/22 15:04:15 [core] scheme "" not registered, fallback to default schemeINFO: 2021/02/22 15:04:15 gRPC server is starting tmp/server.sockINFO: 2021/02/22 15:04:15 [core] ccResolverWrapper: sending update to cc: {[{tmp/server.sock <nil> 0 <nil>}] <nil> <nil>}INFO: 2021/02/22 15:04:15 [core] ClientConn switching balancer to "pick_first"INFO: 2021/02/22 15:04:15 [core] Channel switches to new LB policy "pick_first"INFO: 2021/02/22 15:04:15 [core] Subchannel Connectivity change to CONNECTINGINFO: 2021/02/22 15:04:15 [core] Subchannel picks a new address "tmp/server.sock" to connectINFO: 2021/02/22 15:04:15 [core] Channel Connectivity change to CONNECTINGINFO: 2021/02/22 15:04:15 grpc-gateway server is starting [::]:3000
I've created a new project and generated 1 service.
when I run
grpcurl -plaintext 0.0.0.0:3000 list
, the server showsFailed to extract ServerMetadata from context
grapi 0.3.2
The text was updated successfully, but these errors were encountered: