root@ubuntu:~/redis# git branch * 6.0

root@ubuntu:~/redis# ./src/redis-cli -h 127.0.0.1 -p 6379 127.0.0.1:6379> HELLO 3 1# "server" => "redis" 2# "version" => "5.9.102" 3# "proto" => (integer) 3 4# "id" => (integer) 16 5# "mode" => "standalone" 6# "role" => "master" 7# "modules" => (empty array) 127.0.0.1:6379> SUBSCRIBE redis:invalidate Reading messages... (press Ctrl-C to quit) Error: Protocol error, got ">" as reply type byte

Comment From: itamarhaber

Hello @xiaozhitaba

Thanks for reporting this - it looks like redis-cli SUBSCRIBE mode doesn't support RESP3 just yet.

Comment From: antirez

Yes, hiredis lacks support for push messages of RESP3, hence redis-cli in RESP3 mode does not support it.

Comment From: yossigo

Fixed by #7609