Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Redis Session Handler - Multiple Host DSN #34477

Closed
@BeyerJC

Description

@BeyerJC

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 !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions