Skip to content

2 exception(s): Exception #0 (CredisException): READONLY You can't write against a read only replica. Exception #1 (RedisException): READONLY You can't write against a read only replica. #1340

Open
@RedbudiDev

Description

@RedbudiDev

@markshust
Description
After some time the master configuration itself changes to replication and gives me a problem connecting to the API what is the problem?

Steps To Reproduce
I'm currently solving it by going into the redis container in cle and setting repicaof no one
But it's just happening now and again.

Actual Result
2 exception(s):
Exception #0 (CredisException): READONLY You can't write against a read only replica.
Exception #1 (RedisException): READONLY You can't write against a read only replica.

Exception #0 (CredisException): READONLY You can't write against a read only replica.

#1 Cm\RedisSession\Handler->read() called at [vendor/magento/framework/Session/SaveHandler/Redis.php:84]
#2 Magento\Framework\Session\SaveHandler\Redis->read() called at [vendor/magento/framework/Session/SaveHandler.php:213]
#3 Magento\Framework\Session\SaveHandler->callSafely() called at [vendor/magento/framework/Session/SaveHandler.php:126]
#4 Magento\Framework\Session\SaveHandler->read()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions