hibiken / asynqmon

Web UI for Asynq task queue
MIT License
662 stars 147 forks source link

UNKNOWN: UNKNOWN: redis eval error: ERR Error running script #191

Closed hieunguyen1809 closed 3 years ago

hieunguyen1809 commented 3 years ago

Hi guys, I'm using as an library. It's run fine in my lap but fail on remote. Can I know what is the root cause of this? Thank you so much.

Stacktrade: UNKNOWN: UNKNOWN: redis eval error: ERR Error running script (call to f_d2725d6f7a40c52b2534b2526b30a74d28fe023e): @user_script:21: user_script:21: attempt to perform arithmetic on local 'm' (a string value)

hibiken commented 3 years ago

@hieunguyen1809 Thank you for opening an issue!

Would you mind checking the version of redis? Asynq curretly requires redis v4 or above.

hieunguyen1809 commented 3 years ago

@hibiken I checked and found that the using version of redis is 5.3.3

hibiken commented 3 years ago

I see. Would you mind checking the version of asynq package and asynqmon? This could be just a version incompatibility issue

hieunguyen1809 commented 3 years ago

I think this the problem come from the redis docker (eqalpha/keydb). Because I tested yesterday with bitnami/redis and it ran fine. Btw, I'm using asynq v0.18.6 and asynqmon v0.3.2.

hieunguyen1809 commented 3 years ago

I just upgrade redis version to 6.0.16 and the issue is gone. Thank guys.