Skip to content

Doesn't work with node-redis v4.0.0 #417

@xairoo

Description

@xairoo

I updated node-redis from v3.1.2 to 4.0.0 on my node client and socket.io stopped working. First emit is send, then it crashes.

Node client:

Error: Got an unexpected reply from Redis
    at RedisCommandsQueue._RedisCommandsQueue_shiftWaitingForReply

Socket.io server (redis 3.1.2):

node_modules\notepack.io\lib\decode.js:246
    throw new Error((buffer.length - decoder.offset) + ' trailing bytes');

Running Socket.io server with redis 4.0.0:

node_modules\@socket.io\redis-adapter\dist\index.js:64
        this.subClient.psubscribe(this.channel + "*", onError);
                       ^

TypeError: this.subClient.psubscribe is not a function
    at new RedisAdapter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions