Hello everyone,
I am facing a problem with gRPC and microservices. When sending a request from "Service A" to "Service B," if the connection between them is lost, "Service A" sometimes fails to reconnect to "Service B" without any explicit error. Consequently, the messages remain stuck, and the gRPC continues retrying. It appears that the issue might be related to resolving the DNS of "Service B," causing the request to get stuck. Also, I added a deadline option, sometimes it works and sometimes it doesn't Is there a solution to this problem? Config file: return { transport: Transport.GRPC, options: { maxReceiveMessageLength: 99 * 1024 * 1024, maxSendMessageLength: 99 * 1024 * 1024, url: url, keepalive: { 'keepaliveTimeMs': 60000, 'keepaliveTimeoutMs': 20000, 'keepalivePermitWithoutCalls': 1, }, channelOptions: { "grpc.max_connection_age_ms": 30000, "grpc.max_connection_age_grace_ms": 10000, "grpc.lb_policy_name": "round_robin", "grpc.service_config": JSON.stringify({loadBalancingConfig: [{ round_robin: {} } ] } ) } }, }; -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/dd6578b9-cb4f-4e3d-829c-90c8df1021een%40googlegroups.com.