Closed mar1n3r0 closed 3 years ago
@mar1n3r0 what was the issue ? might help other ppl struggling with the same thing
@vardius Forgot to add the connection to the init function: https://github.com/vardius/go-api-boilerplate/blob/eed90e76eb6582f602a6a9daa96adbdc2876097a/cmd/user/internal/application/config/env.go#L83
thanks for sharing !
Looking for advice... I am getting this when trying to make a gRPC call to a new service cloned from an existing one. Wondering how could this be debugged as readiness and health checks are reporting all ok.
As far as I understand the gRPC server hasn't registered the service but no errors were reported at the time of starting.
Suspecting specifically this part: https://github.com/vardius/go-api-boilerplate/blob/0010b2c59e0f671006afef0d720b5c3b3edfdd56/cmd/user/internal/interfaces/grpc/adapter.go#L34
Curious to know how can we check that it was successfully registered.
If the service is added to the grpcConnectionMap of a dependent service the output is:
gRPC connection is not serving
It makes me think that there is a network issue on my side since the internal readiness probe works.
P.S. The code generated in pb.go is identical and complete.