n8n executions stuck on “Queued / Starting soon” — jobs enqueued but never picked up by worker

rawideasro
HOBBYOP

2 months ago

My n8n flow worked fine during testing. After I moved it to production and sent a few emails through the workflow, all new runs now show “Queued / Starting soon” and nothing executes.

  • During tests: executions ran normally.

  • After going live: executions are enqueued and stay in “Queued”, never switching to “Running”.

  • Logs show items being enqueued, but I don’t see any worker picking them up.

Could you please help me identify why executions are stuck in “Queued” and advise on the quickest fix (e.g., configuration/env vars to change or services to restart)?

Solved$10 Bounty

6 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


rawideasro
HOBBYOP

2 months ago

not usefull


2 months ago

I think these are the settings that get a primary, worker, redis and postgres working.

EXECUTIONS_MODE="queue"
N8N_RUNNERS_ENABLED="true"
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS="true"
QUEUE_BULL_REDIS_DUALSTACK="true"

QUEUE_BULL_REDIS_HOST="${{Redis.REDISHOST}}"

QUEUE_BULL_REDIS_PASSWORD="${{Redis.REDIS_PASSWORD}}"

QUEUE_BULL_REDIS_PORT="${{Redis.REDISPORT}}"

QUEUE_BULL_REDIS_USERNAME="${{Redis.REDISUSER}}"
DB_POSTGRESDB_DATABASE="n8ndb"

DB_POSTGRESDB_HOST="${{Postgres.PGPRIVATEHOST}}"

DB_POSTGRESDB_PASSWORD="${{Postgres.PGPASSWORD}}"

DB_POSTGRESDB_PORT="${{Postgres.PGPRIVATEPORT}}"

DB_POSTGRESDB_USER="${{Postgres.PGUSER}}"

DB_TYPE="postgresdb"

Check the logs on the worker/redis and see if it's just not connected or needs a restart.


rawideasro
HOBBYOP

2 months ago

all those is preconfigured...and all worked until my first live test, when all collapsed


omnibotzzzz

I think these are the settings that get a primary, worker, redis and postgres working.EXECUTIONS_MODE="queue"N8N_RUNNERS_ENABLED="true"OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS="true"QUEUE_BULL_REDIS_DUALSTACK="true"QUEUE_BULL_REDIS_HOST="${{Redis.REDISHOST}}"QUEUE_BULL_REDIS_PASSWORD="${{Redis.REDIS_PASSWORD}}"QUEUE_BULL_REDIS_PORT="${{Redis.REDISPORT}}"QUEUE_BULL_REDIS_USERNAME="${{Redis.REDISUSER}}"DB_POSTGRESDB_DATABASE="n8ndb"DB_POSTGRESDB_HOST="${{Postgres.PGPRIVATEHOST}}"DB_POSTGRESDB_PASSWORD="${{Postgres.PGPASSWORD}}"DB_POSTGRESDB_PORT="${{Postgres.PGPRIVATEPORT}}"DB_POSTGRESDB_USER="${{Postgres.PGUSER}}"DB_TYPE="postgresdb"Check the logs on the worker/redis and see if it's just not connected or needs a restart.

rawideasro
HOBBYOP

2 months ago

thx. all is set


rawideasro
HOBBYOP

2 months ago

all clear now. it was n extra space in an email field. thx


Status changed to Solved brody about 2 months ago


Loading...