I am getting connect ENOBUFS [IP Address]- Local error intermittently when i enabled keepAliveAgent.
Without keepAliveAgent , I get Connect timeout from third party application as too many connections are getting opened with the third party application.
Please find below my setup:
const HttpsAgent = require('agentkeepalive').HttpsAgent;
const keepaliveAgent = new HttpsAgent({
keepalive: true,
maxSockets: 40,
maxFreeSockets: 10,
freeSocketTimeout: 30000,
timeout: 60000
});
Hi,
I am getting connect ENOBUFS [IP Address]- Local error intermittently when i enabled keepAliveAgent. Without keepAliveAgent , I get Connect timeout from third party application as too many connections are getting opened with the third party application. Please find below my setup: const HttpsAgent = require('agentkeepalive').HttpsAgent; const keepaliveAgent = new HttpsAgent({ keepalive: true, maxSockets: 40, maxFreeSockets: 10, freeSocketTimeout: 30000, timeout: 60000 });