Timeout Issue with Workflows Longer Than 60 Seconds

Hello,

I’m running into a timeout problem with my self-hosted n8n installation on Elestio.

The Issue

When I run workflows that take longer than 60 seconds to complete, I don’t get a response:

  • With workflows under 60 seconds: Everything works fine, I get a proper response
  • With workflows over 60 seconds: Initially got 504 Gateway errors
  • After modifying Nginx timeouts to 5 minutes: The request just hangs with no response

My Test Setup

I created a simple test workflow with just:

  1. Webhook node
  2. Wait node (to simulate processing time)
  3. Respond to Webhook node

What I’ve Tried

  • Modified Nginx configuration to increase timeouts to 5 minutes
  • Tested with different wait durations to confirm the 60-second threshold

Has anyone encountered this issue before? Is there a setting in n8n itself that I need to modify for longer-running workflows?

Any help would be greatly appreciated!

Hey @hussein_Abusetta,

Thanks for reporting this.
We have a similar issue here which we’re looking at:

I think it could be the similar. We’re investigating this at the moment and we’ll update on the GitHub issue once we know more.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.