n8n - 💡(How to fix) Fix 504 Gateway Timeou [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#29548Fetched 2026-04-30 06:43:50
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1

Error Message

Describe the problem/error/question

I'm using the Google Drive > Download File node in n8n Cloud to download a 300 KB CSV file, but the download process is taking an unusually long time (over an hour). Now, I cannot access n8n at all, and I keep getting a 504 Gateway Timeout error.

What is the error message (if any)?

  • error: all

Root Cause

The last node doesn’t return any output because the process is stuck due to the long download time.

RAW_BUFFERClick to expand / collapse

Describe the problem/error/question

I'm using the Google Drive > Download File node in n8n Cloud to download a 300 KB CSV file, but the download process is taking an unusually long time (over an hour). Now, I cannot access n8n at all, and I keep getting a 504 Gateway Timeout error.

What is the error message (if any)?

504 Gateway Timeout

Please share your workflow/screenshots/recording

<img width="977" height="190" alt="Image" src="https://github.com/user-attachments/assets/48a5b822-43ca-4f99-bfc0-ac9f77e4187a" /> ## Share the output returned by the last node <!-- If you need help with data transformations, please also share your expected output. -->

The last node doesn’t return any output because the process is stuck due to the long download time.

Debug info

core

  • n8nVersion: 1.123.33
  • platform: docker (cloud)
  • nodeJsVersion: 24.13.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-04-29T19:47:33.311Z

extent analysis

TL;DR

The download process of a 300 KB CSV file using the Google Drive > Download File node in n8n Cloud is taking an unusually long time, causing a 504 Gateway Timeout error, and a potential workaround is to optimize the node's configuration or check the network connectivity.

Guidance

  • Verify the network connectivity and bandwidth to ensure it's not causing the slow download speed.
  • Check the Google Drive API quotas and usage to see if the download request is being throttled or limited.
  • Consider optimizing the Google Drive > Download File node configuration, such as setting a timeout or retry mechanism, to handle large or slow downloads.
  • Investigate if there are any issues with the n8n Cloud infrastructure or the docker container that might be contributing to the slow download speed.

Example

No code snippet is provided as it's not explicitly mentioned in the issue, but it's recommended to check the n8n documentation for optimizing node configurations.

Notes

The issue might be specific to the n8n Cloud environment, the Google Drive API, or the docker container configuration, and further investigation is needed to determine the root cause.

Recommendation

Apply a workaround, such as optimizing the node configuration or checking the network connectivity, as the root cause of the issue is not clearly identified and may require further investigation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix 504 Gateway Timeou [1 comments, 2 participants]