504 Gateway Time-out when testing Form Trigger

Describe the problem/error/question

I am trying to test a n8n Form Trigger node through clicking the orange “Test step” button. A new tab appeared, as expected. (The test URL was “https://(someword)-(someword)-(somenumber).hooks.n8n.cloud/form-test/myform”.)

But it keeps loading for several minutes and eventually gives a 504 Gateway Time-out error.

What I’ve tried to solve this

  • Run “n8n start --tunnel” in the bash again to get a fresh new tunnel URL
  • Restart the whole raspberry pi 4

Expected behavior

I guess the browser should display a form for me to fill in.

What is the error message (if any)?

504 Gateway Time-out

other info

While reading previous related post like this and this, I’ve learned that maybe this is related to the firewall blocking the traffics. But I haven’t change any related settings on my router. (Or should I?

Information on your n8n setup

  • n8n version: 1.24.1
  • Running n8n via: npm
  • Node.js version: 18.19.0
  • Operating system: Raspberry Pi OS

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @CTLu,

Welcome to the community :raised_hands:

I would avoid using the tunnel as we will likely be removing it soon, It may be worth looking at setting up a tunnel with Cloudflare or ngrok.

The error itself sounds like maybe the tunnel is having a hard time connecting properly, restarting n8n normally normally sorts it.