node-modules / agentkeepalive

Support keepalive http agent.
MIT License
579 stars 57 forks source link

connect ENOBUFS #97

Open ankitchoudary opened 3 years ago

ankitchoudary commented 3 years ago

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 });

goriunovphl commented 3 years ago

Having the same problem, everything just blows up after a while when using this agent

 Error: connect ENOBUFS [IP_ADDRESS] - Local (undefined:undefined)