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?