AUTH issue with version 3.4.0
See original GitHub issueVersion
redis-py 3.4.0 redis_version: 5.0.4 (redis-cloud on heroku)
Platform:
python 3.8 on heroku
Description:
After upgrading from 3.3.11 to 3.4.0 the authentication won’t work anymore:
File "/app/mergifyio/cache.py", line 127, in get
value = self.redis.get(key)
File "/app/.heroku/python/lib/python3.8/site-packages/redis/client.py", line 1585, in get
return self.execute_command('GET', name)
File "/app/.heroku/python/lib/python3.8/site-packages/sentry_sdk/integrations/redis.py", line 68, in sentry_patched_execute_command
return old_execute_command(self, name, *args, **kwargs)
File "/app/.heroku/python/lib/python3.8/site-packages/redis/client.py", line 881, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "/app/.heroku/python/lib/python3.8/site-packages/redis/connection.py", line 1178, in get_connection
connection.connect()
File "/app/.heroku/python/lib/python3.8/site-packages/redis/connection.py", line 559, in connect
self.on_connect()
File "/app/.heroku/python/lib/python3.8/site-packages/redis/connection.py", line 633, in on_connect
if nativestr(self.read_response()) != 'OK':
File "/app/.heroku/python/lib/python3.8/site-packages/redis/connection.py", line 739, in read_response
raise response
redis.exceptions.ResponseError: wrong number of arguments for 'AUTH' command
Downgrading have workaround our issue.
The url passed to redis client looks like:
redis://rediscloud:<password>@redis-yyyyy.xxx.us-east-z-z.ec2.cloud.redislabs.com:12345
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:19 (12 by maintainers)
Top Results From Across the Web
AUTH issue with version 3.4.0 · Issue #1274 · redis/redis-py
redis-py 3.4.0 supports ACL authentication and obviously can no longer ignore the username component of a connection URL. I've created a patch in...
Read more >3.4 Wont update - Authentication Failure - Poly Studio x30
My specific issue was my version: 3.1 - so I had to upgrade to 3.2 then 3.4. Fixed! Here are the details: Download...
Read more >Firebase JavaScript SDK Release Notes - Google
1 - May 09, 2022. Authentication. Fixed some typings issues that caused compile errors for TypeScript users. See Github issue ...
Read more >Authentication Examples — PyMongo 3.4.0 documentation
These examples cover all authentication methods currently supported by PyMongo, documenting Python module and MongoDB version dependencies.
Read more >Known Issues - Cribl Docs
Problem : Okta (OpenID Connect) authentication on Cribl Stream fails behind a ... 2022-01-18 – versions 3.2.0 through 3.4.0 – Diagnostics > System...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can confirm. Did a Heroku deploy, which installed the latest version of redis and got the following error:
I was having the same issue with 3.4.1 deployed on Heroku. I’m using the RedisCloud add-on which automatically adds the REDISCLOUD_URL config variable. The connection string includes ‘rediscloud’ as the username. I removed the username and it started working again. Thanks for the info.