Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOSCRIPT No matching script. Please use EVAL error #19

Open
gtoonstra opened this issue Oct 19, 2021 · 2 comments
Open

NOSCRIPT No matching script. Please use EVAL error #19

gtoonstra opened this issue Oct 19, 2021 · 2 comments

Comments

@gtoonstra
Copy link

Looking at FastAPI rate limiter v0.1.4 , we got an error after restarting Redis:

   File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 52, in app
     response = await func(request)
   File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 204, in app
     solved_result = await solve_dependencies(
   File "/usr/local/lib/python3.8/site-packages/fastapi/dependencies/utils.py", line 548, in solve_dependencies
     solved = await call(**sub_values)
   File "/usr/local/lib/python3.8/site-packages/fastapi_limiter/depends.py", line 42, in __call__
     pexpire = await redis.evalsha(
 aioredis.errors.ReplyError: NOSCRIPT No matching script. Please use EVAL.

fastapi-limiter==0.1.4
aioredis==1.3.1
fastapi==0.65.2

We've never seen this error before, but think it is should be similar to:

OptimalBits/bull#1445

@long2ice
Copy link
Owner

Did redis open persistence?

@gtoonstra
Copy link
Author

Yes, it is configured to use AOF: redis-server --appendonly yes --appendfsync always --dir /data1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants