Next Form Page going to localhost waiting page and I can't finish the automation

Describe the problem/error/question

I’m trying to run an advanced n8n automation (deep researcher template by Jim Leuk), but it won’t work for me. it keeps sending me to this url when it tries to ask me follow up questions:

http://localhost:5678/form-waiting/36475

I self hosted on railway using the most used template. so not sure what the issue is?

What is the error message (if any)?

It just hangs. and can’t continue, because it’s waiting for an answer from me, but i can’t get access to the form.

Please share your workflow

https://n8n.io/workflows/2878-host-your-own-ai-deep-research-agent-with-n8n-apify-and-openai-o3/

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:**1.85.4

  • Database (default: SQLite):

  • n8n EXECUTIONS_PROCESS setting (default: own, main):

  • Running n8n via (Docker, npm, n8n cloud, desktop app): railway

  • Operating system: macos

Is your workflow active? Sometimes it’s important to activate the workflow to make some webhooks work.

Yes. I tried with test workflow and with active workflow. Both have the same issue

can soemoen help with this?

Hello ? Still need help with this issue

Hey @Hanson_Cheng,

That “localhost:5678” link indicates n8n is generating URLs for a local server instead of the live Railway deployment. You need to configure n8n so it knows its public address.

Set the environment variable WEBHOOK_TUNNEL_URL (or N8N_HOST / N8N_ENDPOINT_WEBHOOK depending on your setup) to your public Railway URL.

Then restart n8n so these settings take effect.

Do you know how to do that? Maybe ChatGPT can guide you a bit and if it’s still confusing, ask for more help.

I’m also gonna ping other supporters to make sure you keep receiving help.
@Olek @mohamed3nan @barn4k

thank you! i had webhook_url

i did NOT have webhook_tunnel_url

it works now!!

thanks @solomon !!

1 Like

Awesome :raised_hands:
Please remember to mark my reply as the solution