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 am trying to setup a grpc/web client and i get the following error:
Failure: plugin "buf.build/grpc/web:v1.4.2" failed: health.proto: options: mode is required
The error specifically occurs when using gRPC-Web, while other plugins do not seem to be affected. This issue has been reported here: grpc/grpc-web#1251
Buf version
➜ buf --version
1.17.0
heath.proto
syntax = 'proto3';
packagehealth_proto.v1;
optioncsharp_namespace="Grpc.Health.V1";
optiongo_package="google.golang.org/grpc/health/grpc_health_v1";
optionjava_multiple_files=true;
optionjava_outer_classname="HealthProto";
optionjava_package="io.grpc.health.v1";
// Copyright 2015 The gRPC Authors//// Licensed under the Apache License, Version 2.0 (the "License");messageHealthCheckRequest {
stringservice=1;
}
messageHealthCheckResponse {
enumServingStatus {
UNKNOWN=0;
SERVING=1;
NOT_SERVING=2;
SERVICE_UNKNOWN=3; // Used only by the Watch method.
}
ServingStatusstatus=1;
}
serviceHealth {
rpcCheck(HealthCheckRequest) returns (HealthCheckResponse);
rpcWatch(HealthCheckRequest) returns (streamHealthCheckResponse);
}
As you've pointed out, this is a grpc-web issue, not a bufbuild/buf issue. The buf CLI works with all plugins, but cannot account for bugs within each plugin.
I am trying to setup a grpc/web client and i get the following error:
Failure: plugin "buf.build/grpc/web:v1.4.2" failed: health.proto: options: mode is required
The error specifically occurs when using gRPC-Web, while other plugins do not seem to be affected. This issue has been reported here: grpc/grpc-web#1251
Buf version
heath.proto
buf.gen.yaml
buf.yaml
The text was updated successfully, but these errors were encountered: