// guides · n8n error index

n8n queue mode not working? Redis and worker errors, 12 tests

Why n8n queue mode fails or executions sit waiting: Redis connection errors, NOAUTH and WRONGPASS, a worker with a missing or different encryption key, no worker or the wrong queue prefix. The exact messages and fixes from 12 real runs on n8n 2.43.7 with Redis 8.

Updated 2026-10-19 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. Read the last lines of the log

    Queue mode problems almost always show up in the log of the main instance or the worker, not in the editor. Run docker compose logs n8n and docker compose logs n8n-worker (or your service names) and look for Redis, encryption key or exiting. The table below has every message we got and its fix.

  2. Make sure Redis is reachable

    If Redis is down or unreachable, n8n retries for 10 seconds and then exits with Unable to connect to Redis after trying to connect for 10s. Check QUEUE_BULL_REDIS_HOST (in Docker, the Redis service name), the port, and QUEUE_BULL_REDIS_PASSWORD if Redis has one: a missing one gives NOAUTH, a wrong one WRONGPASS.

  3. Use one encryption key everywhere

    Copy the main instance's key into N8N_ENCRYPTION_KEY for every worker. A worker without it refused to start (Failed to start worker because of missing encryption key), and one with a different key exited with Deployment key 'signing.hmac' cannot be read with this instance encryption key.

  4. Check that a worker is actually running

    In queue mode the main instance doesn't run executions itself. With no worker, our webhook still said Workflow was started but nothing ran. Start at least one worker with n8n worker (Docker: command: worker) and look for n8n worker is now ready.

  5. Match the queue settings

    Main and workers must use the same Redis host, port, database and QUEUE_BULL_PREFIX. A worker with a different prefix showed no error and never picked up a job. Then send one test request and watch the worker log for Worker started execution.

Every queue mode error we triggered

On 19 October 2026 we ran n8n 2.43.7 in queue mode on one machine with Redis 8.0.2: a main instance (n8n start), workers (n8n worker) started in different ways, and a published workflow with a Webhook trigger and an HTTP Request node that uses a saved credential. Each row is one run.

What we didWhat n8n showedFix
Main started with EXECUTIONS_MODE=queue, Redis not runningUnable to connect to Redis after trying to connect for 10s
Exiting process due to Redis connection error, exit code 1
Start Redis first, and check host and port (QUEUE_BULL_REDIS_HOST, QUEUE_BULL_REDIS_PORT). In Docker, the host is the Redis service name, not localhost.
Redis stopped while n8n was runningLost Redis connection. Trying to reconnect in 1s... (5s/10s) every second, then the same exit after 10 sn8n doesn't wait forever: it exits, so your container must restart it (restart: unless-stopped) and Redis must come back.
Same, with QUEUE_BULL_REDIS_TIMEOUT_THRESHOLD=30000Kept retrying up to (29.3s/30s), then Unable to connect to Redis after trying to connect for 30sRaise it if Redis restarts slowly. The value is in milliseconds.
Redis has a password, n8n has noneReplyError: NOAUTH Authentication required., Worker exiting due to an error.Set QUEUE_BULL_REDIS_PASSWORD on the main instance and on every worker.
Wrong Redis password[Redis client] WRONGPASS invalid username-password pair or user is disabled. (8 times), then the worker exitedCopy the password again. A $ in it can be eaten by your shell or by Docker Compose; quote it or use $$ in Compose.
Worker with no encryption key (its own data folder)Failed to start worker because of missing encryption key. Please set the `N8N_ENCRYPTION_KEY` env var when starting the worker.Give the worker the same N8N_ENCRYPTION_KEY as the main instance. A worker won't make up its own key, unlike n8n start.
Worker with a different N8N_ENCRYPTION_KEYDeployment key 'signing.hmac' cannot be read with this instance encryption key, Worker exiting due to an error.Same fix: one key, copied exactly, on main and workers. Find the main one in ~/.n8n/config (encryptionKey) if you never set it.
Worker with the same key, its own folderRan the queued workflow, including an HTTP Request with a saved header credential: successThis is the setup you want.
Worker with a different QUEUE_BULL_PREFIXNo error at all. The worker said n8n worker is now ready, the webhook answered 200, and the execution stayed waitingUse the same QUEUE_BULL_PREFIX (or none) everywhere. Same for the Redis database number.
SQLite instead of PostgresScaling mode is not officially supported with sqlite. Please use PostgreSQL instead. on every startIt still ran in our single-machine test, but use Postgres for real queue mode: workers on other machines can't share a SQLite file.

The silent one: executions stuck waiting

With the main instance in queue mode and no worker running, the production webhook still answered 200 {"message":"Workflow was started"}. Nothing ran. The execution sat in the database with status new and no start time, and Redis held the job in bull:jobs:wait. The main instance logged nothing about it.

When we started a worker against the same Redis and database, it picked the job up within about 5 seconds (Worker started execution 1 (job 1), then Worker finished execution 1 (job 1)), and the next webhook ran in about 13 ms. A worker with a different QUEUE_BULL_PREFIX looked healthy but never touched the job. So if executions pile up as waiting, first check that a worker is running, then that it uses exactly the same Redis host, port, database and prefix as the main instance.

# Is anything waiting in the queue? (default prefix "bull", queue "jobs")
redis-cli -h redis -a "$REDIS_PASSWORD" LLEN bull:jobs:wait

# Is the worker alive? (needs QUEUE_HEALTH_CHECK_ACTIVE=true)
curl http://worker:5678/healthz          # {"status":"ok"}
curl http://worker:5678/healthz/readiness

A setup that worked

The values that have to match are the database, the Redis connection and the encryption key. In our test the worker had its own data folder and only got the key through N8N_ENCRYPTION_KEY, and it decrypted the credential fine.

# Same values on the main n8n service AND every worker
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- EXECUTIONS_MODE=queue
- QUEUE_BULL_REDIS_HOST=redis
- QUEUE_BULL_REDIS_PORT=6379
- QUEUE_BULL_REDIS_PASSWORD=${REDIS_PASSWORD}
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}

# worker service only
command: worker
environment:
  - QUEUE_HEALTH_CHECK_ACTIVE=true   # optional: curl http://worker:5678/healthz

The worker printed n8n worker is now ready, its version, Concurrency: 10 (the default) and Queue: jobs. With n8n worker --concurrency=2 it warned: Concurrency is set to less than 5. THIS CAN LEAD TO AN UNSTABLE ENVIRONMENT.

Good to know

What we didn't test

FAQ

Why are my n8n executions stuck in queued or waiting?

In queue mode the main instance only puts executions on the Redis queue; a worker runs them. If no worker is running, or the worker uses a different Redis host, database or QUEUE_BULL_PREFIX, jobs wait forever with no error. In our test a webhook still answered "Workflow was started" while nothing ran.

What does "Unable to connect to Redis after trying to connect for 10s" mean?

n8n is in queue mode and can't reach Redis, so it retries for 10 seconds and exits. Check that Redis is running and that QUEUE_BULL_REDIS_HOST, QUEUE_BULL_REDIS_PORT and QUEUE_BULL_REDIS_PASSWORD are right. QUEUE_BULL_REDIS_TIMEOUT_THRESHOLD (milliseconds) changes how long it retries.

Why does the n8n worker say missing encryption key?

A worker won't generate its own encryption key. Set N8N_ENCRYPTION_KEY on the worker to the same value as the main instance; you find it in the main instance's ~/.n8n/config as encryptionKey if you never set it yourself.

What does "Deployment key 'signing.hmac' cannot be read with this instance encryption key" mean?

The worker's N8N_ENCRYPTION_KEY is different from the one the main instance used, so it can't read keys stored in the shared database and exits. Use exactly the same key on main and workers.

Can I use n8n queue mode with SQLite?

n8n warns "Scaling mode is not officially supported with sqlite. Please use PostgreSQL instead." It ran in our single-machine test with a shared SQLite file, but workers on other machines or containers can't share that file, so use Postgres.

Related guides

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.