Closed tychovbh closed 2 years ago
Do you have some time for a pull request?
Sure, ill give it a try!
Craft CMS user here. Any rough idea of when the 2.0.18 release might happen. We are looking at enabling TLS on our Redis nodes, but would need to hold until the scheme can be provided via config, as currently we can't override it easily.
The Craft CMS way is specifying the redis configuration in an config/app.php file.
Potentially, I could do a composer alias with as
for the Yii redis dependency with this commit, but just for general info for when the official release might happen.
Soon. Want to do it after Yii2 release. There are 4 issues left to solve.
@samdark Thanks, I was able to update composer like this for now, to test Redis with TLS
"yiisoft/yii2-redis": "dev-master as 2.0.17"
I'm trying to connect my craftcms to a digitalocean redis cluster.
Digitalocean requires a tls:// connection url:
tls://kotc-redis-do-user-698729-0.b.db.ondigitalocean.com
But your plugin doesn't support this only tcp:// and unix://.
I verified that my connection is working if I modify the class
Connection.php
on line 596:And my connection worked directly, when I use the tcp:// it returns the following error:
It would be handy to be able to configure de connection scheme mode:
My Laravel application already supports the tls:// mode, as you can read here: https://aregsar.com/blog/2020/connecting-laravel-to-digitalocean-managed-redis-cluster/
What steps will reproduce the problem?
What's expected?
To be able to connect caching with a Digitalocean managed Redis database
What do you get instead?
An error:
Additional info