I’m self hosting, using queue mode. Workflows run from the web UI, clicking on the “execute workflow” button work just fine. Webhook tests, which are routed to the main web instance work fine.
However, if a workflow is initiated by cron, or a webhook, they do not execute, hang, and run forever.
In the logs, I see the worker process and webhook process starting the jobs.
What is the error message (if any)?
No error messages.
Please share the workflow
Share the output returned by the last node
No output, it just hangs. My reverse proxy times out.
Information on your n8n setup
0.181.2, the problem started with 0.181.0, as far as i can tell. I upgraded hoping it would fix it.
postgres
Own process, queue mode
running n8n on docker, with a reverse proxy in front to split webhook test and webhook production, as well as terminate ssl.
Hey @bcromie, n8n comes with an optional endpoint providing metrics aimed at Prometheus. You can enable it by setting the environment variableN8N_METRICS=true.
It’s not quite as comprehensive as the dashboard you have in mind though, but might be good starting point.
You might also want to upvote existing feature requests (like this one) or raise your own if you have something else in mind.
@bcromie could you clarify on what the issue was/how you solved this? We are experiencing similar issues and can only seem to resolve it by restarting n8n.
I had setup queue mode, but my init system was starting up the worker nodes without the “worker” argument. So, there wasn’t any worker process to pickup and execute the workflows.