Skip to content

protocol error got as reply type byte #2829

Description

@tillkruss

For transparency and searchability.

[19-Apr-2026 01:06:04 UTC] protocol error, got 'O' as reply type byte
[19-Apr-2026 01:06:04 UTC] protocol error, got 'a' as reply type byte
[19-Apr-2026 01:06:04 UTC] protocol error, got '
[19-Apr-2026 01:06:04 UTC] protocol error, got '
[19-Apr-2026 01:06:04 UTC] protocol error, got 'm' as reply type byte
final class Kaboom {
    public function __wakeup(): void {
        global $redis;
        $redis->pipeline();
        $redis->mget(['payload']);
        $redis->exec();
    }
}

$redis = new Redis(['host' => 'localhost', 'port' => 6379]);
$redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP);

$redis->mset(['string:1' => 'foo', 'payload' => new Kaboom()]);
$redis->mget(['payload', 'string:1']);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions