This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
Runtime Error - event loop is closed - with authentication URL #1357
Unanswered
dazza-codes
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using an authentication URL, like
"redis://default:${REDISCLI_AUTH}@${REDIS_HOST_IP}:6379"
, theredis-cli
makes a successful connection (i.e. the authentication works), but aioredis reports a lot of runtime errors about event loop closures (not sure if this a discussion point or a bug, it might be something in my code and not aioredis). The localhost redis-server (Ubuntu 20.04), when configured with default settings, runs fine with exactly the same aioredis code. Why would using an authenticated URL crash the aioredis connections or event loops?redis server setup with authentication
sample aioredis code to get a connection
Beta Was this translation helpful? Give feedback.
All reactions