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

8 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

Pinned Solution

rawideasro
HOBBYOP

8 months ago

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

6 Replies

Railway
BOT

8 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

8 months ago

not usefull


8 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

8 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

8 months ago

thx. all is set


rawideasro
HOBBYOP

8 months ago

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


Status changed to Solved brody 8 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...