I’m new to n8n, and I’ve created a workflow with a scheduled trigger. The workflow works fine when I test it manually, but when triggered by the schedule, the execution status is stuck in “Queued” and “Starting soon”.
I’ve checked the container logs, and there are no explicit errors, but I do see messages indicating a possible issue with permissions or execution blocks.
Here’s a quick overview of the behavior:
Manual execution: Works fine, the workflow runs and completes without issues.
Scheduled execution: Remains in the “Queued” state and doesn’t run even after the trigger is fired.
I suspect it might be an issue related to worker availability, system configuration, or execution permission. Can you help me figure out why the scheduled trigger isn’t executing the workflow as expected?
Steps to reproduce:
Created a workflow with a scheduled trigger.
Manually tested the workflow, it executed fine.
Scheduled the workflow and waited for the trigger, but it remains in the “Queued” state.
Please let me know if there’s any log or configuration I should check.
when you execute a workflow manually, it’s get executed on the main instance. So it seems there is an issue with the workers (maybe main instance can’t connect to them, or they have any issues with the DB/main instance)
Do you have queue mode set at all? If so, how are you running your workers? Have you checked your concurrency? Which frequency is the workflow being triggered? Do you see anything in the logs (set the log level to ‘debug’ as well)
Please share more about your n8n set up and your env vars that you have set to debug this properly.
N8N_ENCRYPTION_KEY=xxxxx
NODE_ENV=production
EXECUTIONS_MODE=queue
N8N_ENDPOINTS_WORKFLOW_ENABLED=true
N8N_ENDPOINT_WEBHOOK=webhook
N8N_ENDPOINT_WEBHOOK_TEST=webhook-test
N8N_DISABLE_PRODUCTION_MAIN_PROCESS=true
# Trying now explicitly with the IP
QUEUE_BULL_REDIS_HOST=127.0.0.1
QUEUE_BULL_REDIS_PORT=6379
QUEUE_BULL_REDIS_DB=1
QUEUE_BULL_PREFIX=n8n-queue-prod
QUEUE_HEALTH_CHECK_ACTIVE=true
worker.env (main, worker and webhook also include postgres envs):