This is a DNS error that is occurring when making an HTTP request. gRPC is not involved here.
On Sun, Apr 2, 2023 at 5:32 AM 0xvoid <ayoubtaleb....@gmail.com> wrote: > when sending one request the gRPC server from a rest api (that acts as a > gRPC client), the server returns it successfully, but when sending multiple > requests at the same time the server returns the following error: > FetchError: request to "api/pay" failed, reason: getaddrinfo EAI_AGAIN > "api" at ClientRequest.<anonymous> > (file://node_modules/node-fetch/src/index.js:108:11) at ClientRequest.emit > (node:events:539:35) at TLSSocket.socketErrorListener > (node:_http_client:454:9) at TLSSocket.emit (node:events:527:28) at > emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT > (node:internal/streams/destroy:122:3) at processTicksAndRejections > (node:internal/process/task_queues:83:21) { type: 'system', errno: > 'EAI_AGAIN', code: 'EAI_AGAIN', erroredSysCall: 'getaddrinfo' } > How can I solve this and make multiple calls to server without failing? > > -- > 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/f5fe572c-40bf-4d37-9f0a-46d4de4ec3c0n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/f5fe572c-40bf-4d37-9f0a-46d4de4ec3c0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPK2-4eMR2cqUSgDmdORbNQ%2BcSk3aS_HrmC9TWg6s9scur%3Dc8w%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature