I deployed redis and tried to open an external port but upon using with the command celery -A config worker --beat --scheduler django --loglevel=info. It states that
Secure redis scheme specified (rediss) with no ssl options, defaulting to insecure SSL behaviour.
…
consumer: Cannot connect to rediss://red-myname:**@singapore-redis.render.com:6379//: Authentication required…
Note myname i delete the code there to at least avoid u know.
Anyway it seems I cannot connect, idk if it was a wrong format or wrong crendentials?
Any fixes or alternative ?
update: i turn on BROKER_USE_SSL in my django settings now the first error dissappear but the consumer: … still remains.
Thank you for your fast reply. So far I tried some external redis (for testing) it seems I find it to work in external using redis:// not a rediss:// now I wonder if rediss:// causes the issue.
on my config vars it was
BROKER_URL: <redis>
on my settings.py. Maybe theres a problem here since it was a SSL connection.
There are a couple of things that might be as play here:
Your redis package looks quite old, the current version 4.3.4 Maybe the issue you’re having is fixed in a more recent version?
If your connecting service is in the same account & region as your Redis instance, you can use the internal connection string, listed on the Redis instance.
We also have a working Celery example, which currently uses the Python redis package 4.2.2, which may be worth reviewing to see how your project compares.