Skip to content

"redis.exceptions.ResponseError: workers_offload failure" Error in the code #3015

Open
@pjain05

Description

@pjain05

Version: redis-py 4.5.4 and redis server version is 6.2.10

Platform: Python 3.9 on Alpine Linux v3.11

I have a python Flask microservice which is consuming Redis as both queue and Cache. I am getting the below error trace upon healthcheck failure. This healthcheck is simple wherein it runs only the info() command of Redis. I checked on the internet but couldn't find anything in both the redis and redis-py documentation or over the internet.

Can anyone please explain this error "workers_offload failure"?

Traceback (most recent call last):
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/healthcheck/__init__.py", line 106, in run_check
    passed, output = checker()
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/smart_service/alchemist/redis.py", line 173, in redis_healthcheck
    redis_manager.get_client(port=port).info()
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/commands/core.py", line 980, in info
    return self.execute_command("INFO", **kwargs)
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/client.py", line 1258, in execute_command
    return conn.retry.call_with_retry(
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/client.py", line 1259, in <lambda>
    lambda: self._send_command_parse_response(
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/client.py", line 1235, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/client.py", line 1275, in parse_response
    response = connection.read_response()
  File "/usr/local/runscope/queue/lib/python3.9/site-packages/redis/connection.py", line 882, in read_response
    raise response
redis.exceptions.ResponseError: workers_offload failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions