Skip to content

Redis - Protocol error (invalid bulk length) from client #176

@clu8

Description

@clu8

I'm trying to use flask cache with redis to memoize function calls with large outputs. However, on the Redis side, I'm getting errors like:

Protocol error (invalid bulk length) from client: id=18158 addr=10.12.345.678:55056 fd=8 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=13107 qbuf-free=19661 obl=42 oll=0 omem=0 events=r cmd=auth. Query buffer during protocol error: '*4..$5..SETEX..$30..flask_cache_view//v1/data/endpoint..$5..43200..$' (... more 12979 bytes ...) '\x7f\x00\x00\x00\x00\x00\x00\xf8\x7f\x00\x00\x00\x00\x00\x80@@\x'	

Could this be a problem with how flask cache is encoding the redis commands? Or am I looking in the wrong place? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions