'Connecting Celery to Azure GOV Redis
I'm trying to get Celery to connect to an Azure GOV Redis resource.
Found and have tried this answer How to setup Celery to talk ssl to Azure Redis Instance for the connection string.
When I used port 6380 I get a ('time-out') - "ERROR/MainProcess] consumer: Cannot connect to rediss://:@*.redis.cache.usgovcloudapi.net:6380/0: Error while reading from socket: ('timed out',)" ...So I added BROKER_CONNECTION_TIMEOUT and TRANSPORT OPTIONS to try and give me a different result but no change.
My last thought was to try 6379 which I believe is the port that azure suggests... with this I get "Cannot connect to rediss://:@*.redis.cache.usgovcloudapi.net:6379/0: Error 111 connecting to ***.redis.cache.usgovcloudapi.net:6379. ECONNREFUSED"
I know GOV is more restrictive and therefore different than normal Azure so I was wondering if anyone has been able to connect this way successfully, thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
