Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N node-http-proxy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 482
    • Issues 482
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • http ... PARTY!
  • node-http-proxy
  • Issues
  • #1606
Closed
Open
Issue created Aug 21, 2022 by hershkoy@hershkoy

Error ENOBUFS

My application calls the proxy once every few seconds (about 1call/3sec). After a few successful responses, a few occasional errors appear:

error {"errno":-4060,"code":"ENOBUFS","syscall":"connect","address":"127.0.0.1","port":80}

Then after few more connections, every new request is responded with the above error.

I tried the solution of adding agent: false described here, but it didn't help:

var option = {
  target: 'http://localhost',
  selfHandleResponse : true,
  agent: false
};

var server = http.createServer(function(req, res) {
  proxy.web(req, res, option);
});

The ENOBUFS issue happens even when I reduced the requests rate to 6 seconds.

Assignee
Assign to
Time tracking