Error map

MOVED / ASK redirection (non-cluster client) Redis: (error) MOVED 3999 10.0.0.6:6379 / ReplyError: MOVED 12182 192.168.0.5:7001

Redis · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

MOVED / ASK redirection (non-cluster client) — Redis: (error) MOVED 3999 10.0.0.6:6379 / ReplyError: MOVED 12182 192.168.0.5:7001 (Redis)MOVED / ASK…BUSY Redis is busy running a script — Redis: (error) BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE (Redis)BUSY Redis is busy …CROSSSLOT Keys in request don't hash to the same slot — Redis Cluster: (error) CROSSSLOT Keys in request don't hash to the same slot (Redis)CROSSSLOT Keys in r…Celery with Redis: tasks run twice (visibility_timeout) — Celery: Task executed twice / Restoring unacked messages — Redis broker visibility_timeout shorter than task ETA (Redis)Celery with Redis: …BullMQ: Missing lock for job / job stalled more than allowable limit — BullMQ: Error: Missing lock for job 42. moveToFinished / job stalled more than allowable limit (Redis)BullMQ: Missing loc…Error: connect ECONNREFUSED 127.0.0.1:6379 — Redis: Error: connect ECONNREFUSED 127.0.0.1:6379 / Could not connect to Redis at 127.0.0.1:6379: Connection refused (Redis)Error: connect ECON…ERR DB index is out of range — Redis: (error) ERR DB index is out of range / ERR SELECT is not allowed in cluster mode (Redis)ERR DB index is out…ERR This instance has cluster support disabled — Redis: (error) ERR This instance has cluster support disabled (Redis)ERR This instance h…Redis::CannotConnectError (Sidekiq/Rails) — Redis::CannotConnectError: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Ruby / Rails)Redis::CannotConnec…CLUSTERDOWN Hash slot not served — Redis Cluster: (error) CLUSTERDOWN Hash slot not served / The cluster is down (Redis)CLUSTERDOWN Hash sl…NOAUTH — ReplyError: NOAUTH Authentication required. (Node.js)NOAUTHWRONGTYPE — WRONGTYPE Operation against a key holding the wrong kind of value (Node.js)WRONGTYPEOOM command not allowed — Redis: OOM command not allowed when used memory > 'maxmemory' (Redis)OOM command not all…NOSCRIPT No matching script. Please use EVAL — Redis: (error) NOSCRIPT No matching script. Please use EVAL. (Redis)NOSCRIPT No matchin…EXECABORT Transaction discarded because of previous errors — Redis: (error) EXECABORT Transaction discarded because of previous errors. (Redis)EXECABORT Transacti…DENIED Redis is running in protected mode — Redis: DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user (Redis)DENIED Redis is run…NOAUTH / WRONGPASS invalid username-password pair — Redis: (error) NOAUTH Authentication required. / WRONGPASS invalid username-password pair or user is disabled (Redis)NOAUTH / WRONGPASS …ECONNRESET / Connection reset by peer on idle Redis connection — Redis: Error: read ECONNRESET / redis.exceptions.ConnectionError: Connection reset by peer after idle time (Redis)ECONNRESET / Connec…MaxAttemptsExceededException (queue job) — Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long (Laravel)MaxAttemptsExceeded…Redis TLS: SSL handshake error / protocol mismatch — Redis: Error: write EPROTO ... SSL routines:ssl3_get_record:wrong version number / Connection reset by peer (TLS vs plaintext) (Redis)Redis TLS: SSL hand…ERR max number of clients reached — Redis: ERR max number of clients reached (Redis)ERR max number of c…SQLSTATE[HY000] [2002] Connection refused — Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed (Laravel)SQLSTATE[HY000] [20…Redis connection refused (Laravel) — Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused (Laravel)Redis connection re…Can't connect to Redis from another host (bind 127.0.0.1) — Redis: Could not connect to Redis at 10.0.0.5:6379: Connection timed out (Redis)Can't connect to Re…Redis closes idle clients (timeout setting) — Redis: Closing idle client / Connection closed by server after timeout 300 (Redis)Redis closes idle c…ERR wrong number of arguments / syntax error — Redis: (error) ERR wrong number of arguments for 'set' command / ERR syntax error (Redis)ERR wrong number of…Redis fails to start: Address already in use / Bad directive in config — Redis: # Could not create server TCP listening socket *:6379: bind: Address already in use / *** FATAL CONFIG FILE ERROR *** (Redis)Redis fails to star…env() returns null (config cached) — Laravel: .env changes ignored / env('X') returns null after php artisan config:cache (Laravel)env() returns null …ERR CONFIG SET failed (possibly related to argument) — Redis: (error) ERR CONFIG SET failed (possibly related to argument 'maxmemory') - can't set immutable config (Redis)ERR CONFIG SET fail…Client output buffer limit reached (scheduled to be closed) — Redis: Client id=12 addr=10.0.0.5:51234 scheduled to be closed ASAP for overcoming of output buffer limits (Redis)Client output buffe…Keys disappear: maxmemory eviction (allkeys-lru) — Redis: evicted_keys growing — keys vanish unexpectedly because maxmemory is reached and a volatile/allkeys eviction policy is active (Redis)Keys disappear: max…mem_fragmentation_ratio high / memory not released — Redis: INFO memory — mem_fragmentation_ratio:2.8 (RSS much larger than used_memory) (Redis)mem_fragmentation_r…Replica full resync loop (output buffer / timeout) — Redis: Client id=7 scheduled to be closed ASAP for overcoming of output buffer limits (replica) / MASTER <-> REPLICA sync: Timeout (Redis)Replica full resync…Sentinel: failover aborted / -failover-abort-no-good-slave — Redis Sentinel: # -failover-abort-no-good-slave master mymaster 10.0.0.5 6379 / +sdown master (Redis)Sentinel: failover …Redis latency spikes: slow commands (KEYS, SMEMBERS) — Redis: SLOWLOG GET shows KEYS * taking 1500000 microseconds — server blocked (Redis)Redis latency spike…

Directly related (9)

BUSY Redis is busy running a scriptRedis

Redis: (error) BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE

A long-running Lua script (or function) blocks the single-threaded server, so other commands are rejected.

CROSSSLOT Keys in request don't hash to the same slotRedis

Redis Cluster: (error) CROSSSLOT Keys in request don't hash to the same slot

A multi-key command or transaction used keys that live in different cluster slots.

Celery with Redis: tasks run twice (visibility_timeout)Redis

Celery: Task executed twice / Restoring unacked messages — Redis broker visibility_timeout shorter than task ETA

Celery's Redis transport redelivers a task if it isn't acknowledged within `visibility_timeout` (1 hour by default).

BullMQ: Missing lock for job / job stalled more than allowable limitRedis

BullMQ: Error: Missing lock for job 42. moveToFinished / job stalled more than allowable limit

A BullMQ worker lost the lock on a job (it took too long or the event loop was blocked), so the job is considered stalled.

Error: connect ECONNREFUSED 127.0.0.1:6379Redis

Redis: Error: connect ECONNREFUSED 127.0.0.1:6379 / Could not connect to Redis at 127.0.0.1:6379: Connection refused

Nothing is listening on the Redis host/port your client uses.

ERR DB index is out of rangeRedis

Redis: (error) ERR DB index is out of range / ERR SELECT is not allowed in cluster mode

`SELECT n` used a database number the server doesn't have, or you're on Redis Cluster/managed Redis that only has DB 0.

ERR This instance has cluster support disabledRedis

Redis: (error) ERR This instance has cluster support disabled

A cluster command (or cluster client) was used against a standalone Redis instance.

Redis::CannotConnectError (Sidekiq/Rails)Ruby / Rails

Redis::CannotConnectError: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)

Sidekiq or the Rails Redis cache/cable couldn't connect to Redis.

CLUSTERDOWN Hash slot not servedRedis

Redis Cluster: (error) CLUSTERDOWN Hash slot not served / The cluster is down

The cluster has hash slots that no node currently serves, so keys in those slots can't be accessed.

Two steps away (25)

NOAUTHNode.js

ReplyError: NOAUTH Authentication required.

The Redis server requires a password (or ACL user) but the client didn’t authenticate.

WRONGTYPENode.js

WRONGTYPE Operation against a key holding the wrong kind of value

A Redis command was used on a key of a different type (e.g. HGET on a string key).

OOM command not allowedRedis

Redis: OOM command not allowed when used memory > 'maxmemory'

Redis reached its maxmemory limit and the eviction policy (noeviction) refuses new writes.

NOSCRIPT No matching script. Please use EVALRedis

Redis: (error) NOSCRIPT No matching script. Please use EVAL.

`EVALSHA` referenced a script hash the server doesn't have cached (after restart, failover, or `SCRIPT FLUSH`).

EXECABORT Transaction discarded because of previous errorsRedis

Redis: (error) EXECABORT Transaction discarded because of previous errors.

A command queued inside `MULTI` had a syntax error, so `EXEC` aborted the whole transaction.

DENIED Redis is running in protected modeRedis

Redis: DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user

Redis refuses connections from non-local clients when it has no password and is bound to all interfaces.

NOAUTH / WRONGPASS invalid username-password pairRedis

Redis: (error) NOAUTH Authentication required. / WRONGPASS invalid username-password pair or user is disabled

The server requires a password (or ACL user) and the client sent none or the wrong one.

ECONNRESET / Connection reset by peer on idle Redis connectionRedis

Redis: Error: read ECONNRESET / redis.exceptions.ConnectionError: Connection reset by peer after idle time

A middlebox or Redis closed an idle connection, and the pooled client reused it.

MaxAttemptsExceededException (queue job)Laravel

Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long

A queued job failed repeatedly or ran past its timeout, so it was marked failed.

Redis TLS: SSL handshake error / protocol mismatchRedis

Redis: Error: write EPROTO ... SSL routines:ssl3_get_record:wrong version number / Connection reset by peer (TLS vs plaintext)

The client and server disagree about TLS — plaintext client to a TLS port, or TLS client to a plaintext port.

ERR max number of clients reachedRedis

Redis: ERR max number of clients reached

Redis hit its `maxclients` limit (default 10000, lower if the OS limit is low), so new connections are refused.

SQLSTATE[HY000] [2002] Connection refusedLaravel

Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed

Laravel can't open a network connection to the database host and port from `.env`.

Redis connection refused (Laravel)Laravel

Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused

Laravel can't connect to Redis, which it uses for cache, sessions or queues.

Can't connect to Redis from another host (bind 127.0.0.1)Redis

Redis: Could not connect to Redis at 10.0.0.5:6379: Connection timed out

Redis only listens on localhost by default, so remote clients time out or are refused.

Redis closes idle clients (timeout setting)Redis

Redis: Closing idle client / Connection closed by server after timeout 300

Redis' `timeout` directive closes connections idle longer than N seconds.

ERR wrong number of arguments / syntax errorRedis

Redis: (error) ERR wrong number of arguments for 'set' command / ERR syntax error

The command was malformed: missing/extra arguments or an unsupported option for your Redis version.

Redis fails to start: Address already in use / Bad directive in configRedis

Redis: # Could not create server TCP listening socket *:6379: bind: Address already in use / *** FATAL CONFIG FILE ERROR ***

`redis-server` exits at startup because the port is taken or the config file has an error.

env() returns null (config cached)Laravel

Laravel: .env changes ignored / env('X') returns null after php artisan config:cache

After `config:cache`, Laravel no longer reads `.env`, so `env()` calls outside config files return null and edits to `.env` have…

ERR CONFIG SET failed (possibly related to argument)Redis

Redis: (error) ERR CONFIG SET failed (possibly related to argument 'maxmemory') - can't set immutable config

`CONFIG SET` rejected the parameter — it is immutable at runtime, invalid, or disabled by the hosting provider.

Client output buffer limit reached (scheduled to be closed)Redis

Redis: Client id=12 addr=10.0.0.5:51234 scheduled to be closed ASAP for overcoming of output buffer limits

A client (often a slow subscriber or a replica) couldn't read data fast enough, so Redis disconnected it to protect memory.

Keys disappear: maxmemory eviction (allkeys-lru)Redis

Redis: evicted_keys growing — keys vanish unexpectedly because maxmemory is reached and a volatile/allkeys eviction policy is active

Redis removed keys to stay under `maxmemory` according to the eviction policy.

mem_fragmentation_ratio high / memory not releasedRedis

Redis: INFO memory — mem_fragmentation_ratio:2.8 (RSS much larger than used_memory)

The process uses far more RSS than the data size, due to allocator fragmentation or deleted-but-not-returned memory.

Replica full resync loop (output buffer / timeout)Redis

Redis: Client id=7 scheduled to be closed ASAP for overcoming of output buffer limits (replica) / MASTER <-> REPLICA sync: Timeout

A replica can't finish the initial sync because the master's replication buffer fills up or the transfer times out, so it restart…

Sentinel: failover aborted / -failover-abort-no-good-slaveRedis

Redis Sentinel: # -failover-abort-no-good-slave master mymaster 10.0.0.5 6379 / +sdown master

Sentinel detected the master as down but found no healthy replica to promote.

Redis latency spikes: slow commands (KEYS, SMEMBERS)Redis

Redis: SLOWLOG GET shows KEYS * taking 1500000 microseconds — server blocked

Redis is single-threaded; one slow command delays everything else.