Skip to content

Session config with redis url broken after update to 5.4.0 #44372

@ThomasTr

Description

@ThomasTr

Symfony version(s) affected

5.4

Description

Configured session handler_id as handler_id: 'redis://localhost/2'. This worked for me until i updated to 5.4.0. Now i get this error:

parse_url(): Argument #1 ($url) must be of type string, Symfony\Component\Cache\Traits\RedisProxy given

How to reproduce

Use this config in framework.yaml with symfony 5.4.0

framework:
    session:
        handler_id: 'redis://localhost/2'

Possible Solution

No response

Additional Context

No response

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