Issues with Webhooks: "Listen to test" screen doesn't work properly

I Have a very annoying issue with a self-hosted instance of n8n.

When I create a new webhook based workflow and try to test it with the “Listen to test event” button. that test screen never goes away and seem to be stuck. Not when I call the webhook successfully and not when I click the “stop listening” button. it stays in listening mode even when I close and reopen the webhook settings.

the production URL works fine otherwise. the same runs fine on my local, just not on my self hosted. did anyone encounter the same and knows how to fix this?

This is on n8n v1.24.0 (cloned from Github)

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:

Hi @yoventures, this suggests your n8n server isn’t able to update the UI when it receives your test request.

Is there a chance you have a reverse proxy in use that does not currently support websocket connections? Caddy for example does this out of the box, but nginx needs a little tweaking (see this post for a working example).