You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error while queuing jobs
redigo: bad response line terminator (possible server error or unsupported concurrent read by application)
I'm sure it cannot be because of concurrency as redispool is being used.
has anyone else faced this issue?
I'm using a sharded redis cluster from redis-labs. Initially, I was getting CROSS slot issue, so wrapped the namespace with curly braces. Now I'm facing this issue.
This error only comes when I use EnqueueUnique and EnqueueUniqueIn and does not occur when I use just Enqueue
The text was updated successfully, but these errors were encountered:
I figured out what the issue is. At least I think I did. Since UniqueJob serializes the map into a json string and append it with the key, there are flower braces in the key which makes the redis cluster consider that as a tag and results in a CROSS Slot error. But for some reason it does not propogate as a CROSS SLOT error. But I was able to reproduce the error after I ran the monitor command and tried the command that ran on the server.
I think the best way to solve this is to base64 encode the map data and use that in the key instead of the json string. Please let me know what your thoughts are on this?
I'm getting the following error while queuing jobs
redigo: bad response line terminator (possible server error or unsupported concurrent read by application)
I'm sure it cannot be because of concurrency as redispool is being used.
has anyone else faced this issue?
I'm using a sharded redis cluster from redis-labs. Initially, I was getting CROSS slot issue, so wrapped the namespace with curly braces. Now I'm facing this issue.
This error only comes when I use EnqueueUnique and EnqueueUniqueIn and does not occur when I use just Enqueue
The text was updated successfully, but these errors were encountered: