diff --git a/transport/internet/grpc/hub.go b/transport/internet/grpc/hub.go index ee8db11d0..c466e2d0e 100644 --- a/transport/internet/grpc/hub.go +++ b/transport/internet/grpc/hub.go @@ -75,6 +75,7 @@ func Listen(ctx context.Context, address net.Address, port net.Port, settings *i if config == nil { s = grpc.NewServer() } else { + // gRPC server may silently ignore TLS errors s = grpc.NewServer(grpc.Creds(credentials.NewTLS(config.GetTLSConfig(tls.WithNextProto("h2"))))) } listener.s = s