QUIRREL_TOKEN not obtained when doing self-hosting Quirrel

I used fly.io to self-host quirrel instance by following this document 2 years ago, and Quirrel was working in my app but now it has stopped working. I debugged and found that instance is not responding anymore.
So I tried to fresh start the instance again but at the last step to obtain the QUIRREL_TOKEN it throws an error message:
{"message":"Route PUT:/tokens/ms-quirrel not found","error":"Not Found","statusCode":404}

The command I ran was:
curl --user ignored:{mysecurequirrelpassphrase} -X PUT https://{myapp}.fly.dev/tokens/{myapp}

Please help me what should I be doing wrong or try any other way?

Resolved it. I was passing wrong port 9181 instead of 6379 in
flyctl secrets set "REDIS_URL=redis://:paste_redis_password_here@cdg.quirrel-redis.internal:9181?family=6"
And
I had to create fresh quirrel redis-quirrel instances.

Make sure to pass 6379 as quirrel-redis PORT.
My new Quirrel is working now for enqueue() and delete() functions.

1 Like

Glad it worked out.