google/cloudprober

Unable to connect gRPC for dynamic configuration of cloudprober

Closed this issue · 0 comments

I'm running the cloudprober at port 9313 and I’m trying to implement the gRPC service for dynamic updates in cloudprober configurations.
I have seen this command in client.go file in prober directory, tried to implement that but couldn’t get the response from server, tried running command similar to:
// go run ./cmd/client.go --server localhost:9314 --add_probe newprobe.cfg
I’m getting this error if I run the client.go file
58804 client.go:84] rpc error: code = Unavailable desc = connection closed
Is the server starting at port:9314 or should I start it seperately? I’m unable to find any related documentations, could you correct this if I’m wrong somewhere?