ERR_CONNECTION_TIMED_OUT of form test url and production url

Describe the problem/error/question

When I create a new On form submission trigger (n8n form) both the test url and the production url return ERR_CONNECTION_TIMED_OUT

What is the error message (if any)?

ERR_CONNECTION_TIMED_OUT

Please share your workflow

Just the form trigger

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: Self-hosted → 1.85.4
  • **Database (default: SQLite): I don’t know how to check this, but I think I followed default settings
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): Not set
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Installed in a Docker container in Portainer
  • **Operating system: NixOS

I don’t really know where to look at to solve this, did I close a port I shouldn’t? Is my caddy configuration messing with this? I need some pointers if possible.

Can you tell more about your setup as you mentioned portainer.
Do you access the n8n interface on localhost:5673 or 127.0.0.1:5673 ?
If not, you probably have to set the WEBHOOK_URL environment variable.

1 Like

I access thru my url in the internet. subdomain.mydomain.com

I should set it as WEBHOOK_URL=https://subdomain.mydomain.com, am I right? I just checked Configure webhook URLs with reverse proxy | n8n Docs and is what I understood by it.

Yes, please set WEBHOOK_URL environment variable to https://subdomain.mydomain.com/

thanks, that was it =)

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