Redis Session Handler - Multiple Host DSN #34477
Labels
Bug
Help wanted
Issues and PRs which are looking for volunteers to complete them.
HttpFoundation
Status: Needs Review
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone!
#34177 says we can now use DSNs for configuring the session handler. For me, it works fine when using a single Redis server. But what if i try to use multiple servers ? I copied a example dsn from the cache component which looks like this :
'redis:?host[localhost]&host[localhost:6379]&host[/var/run/redis.sock:]&auth=my-password&redis_cluster=1'
or in the yaml
handler_id: 'redis:?host[localhost]&host[localhost:6379]&host[/var/run/redis.sock:]&auth=my-password&redis_cluster=1'
This causes an error because "redis:?" is not proccessed as a redis dsn.
Is my configuration wrong or is this a bug in the implementation ?
Thanks in advance !
The text was updated successfully, but these errors were encountered: