Skip to content

[self_hosted] HTTP Request node timeouts after ~2m but timeout is set to 10m #14915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gllona opened this issue Apr 26, 2025 · 1 comment
Open
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@gllona
Copy link

gllona commented Apr 26, 2025

Bug Description

I have a workflow with a HTTP Request node which calls a slow external service with POST. The external service should return its answer in less than 5 minutes. I set the HTTP timeout to 600000 (ms) = 10m. However, when I run a test execution, the HTTP Request node timeouts after ~2m, breaking the workflow.

To Reproduce

  1. Self-host n8n with docker compose and run docker compose pull
  2. Provide an external REST service with an HTTP endpoint that returns a JSON response in 5 minutes or more.
  3. Create a workflow in n8n with a node HTTP Request pointing to the external service endpoint and with the correct request JSON.
  4. Set the HTTP Request node timeout to 600000 (ms): Options > Timeout > 600000
  5. Save the workflow
  6. Run the workflow manually
  7. The HTTP Request node timeouts after ~2 minutes. Message: Problem in node ‘HTTP Request‘ - The connection timed out, consider setting the 'Retry on Fail' option in the node settings

Expected behavior

The HTTP Request node should not timeout until the external endpoint returns its answer in ~5 minutes, and the workflow should continue.

Operating System

Ubuntu Linux 22.04

n8n Version

1.89.2

Node.js Version

20.19.0

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Apr 26, 2025

Hey @gllona,

We have created an internal ticket to look into this which we will be tracking as "GHC-1745"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants