Closed i7N3 closed 1 year ago
It looks like that's almost right, and there's just a small error in the configuration: the logs show that the method config is using the name {"service":"push_notification"}
but that you are making a request to the method /push_notification.PushNotificationService/sendUserNotification
. For that method name, the service name should be push_notification.PushNotificationService
.
Thank you @murgatroid99. It works 👍
Background
grpc-js
package supports this config. Correct me if I am wrong.grpc-js
withnestjs
. Here is the code of how it is configured:grpc.helper.ts
app.module.ts
Problem description
When I get
14 UNAVAILABLE
I see only one attempt and I don't know if it's okay, but I expected to see 4 tries.Reproduction steps
GRPC_TRACE=all
andGRPC_VERBOSITY=DEBUG
.14 UNAVAILABLE
.Environment
"@grpc/grpc-js": "^1.8.7"
Additional context (logs)