osrg/gobgp

gRPC Error: <_InactiveRpcError of RPC that terminated with: details = "unknown service apipb.GobgpApi"

ju619 opened this issue · 0 comments

ju619 commented

I am trying to add network paths to gobgp via grpc as documented https://github.com/osrg/gobgp/blob/master/tools/grpc/python/add_path.py but i am getting an error that apipb.GobgpApi is an unknown service. so i am wondering if i am using a version of python3 or protobuf that arent compatible?

ubuntu$ python3 meowth.py 
gRPC Error: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNIMPLEMENTED
	details = "unknown service apipb.GobgpApi"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2023-10-16T20:48:11.567139002+00:00", grpc_status:12, grpc_message:"unknown service apipb.GobgpApi"}"
>

here is whats in my home dir

ubuntu$ ls
GITLAB  MYBIRD  __pycache__  attribute.proto  attribute_pb2.py  attribute_pb2_grpc.py   eevee.py  go  gobgp.proto  gobgp_pb2.py  gobgp_pb2_grpc.py  gobgpd.conf  meowth.py