NodeRedis / node-redis-parser

A high performance Redis protocol (RESP) parser for JavaScript. Used by Node Redis & ioredis.
MIT License
88 stars 36 forks source link

ParserError: Protocol error, got "\r" as reply type byte. Please report this. #64

Open LimitedHype opened 2 years ago

LimitedHype commented 2 years ago

node:events:368 throw er; // Unhandled 'error' event ^

ParserError: Protocol error, got "\r" as reply type byte. Please report this. at handleError (/Users/xxxx/xxxx/node_modules/redis-parser/lib/parser.js:190:15) at parseType (/Users/xxxx/xxxx/node_modules/redis-parser/lib/parser.js:304:14) Emitted 'error' event on RedisClient instance at: at JavascriptRedisParser.returnFatalError (/Users/xxxx/xxxx/node_modules/redis/index.js:156:18) at handleError (/Users/xxxx/xxxx/node_modules/redis-parser/lib/parser.js:196:10) at parseType (/Users/xxxx/xxxx/node_modules/redis-parser/lib/parser.js:304:14) at JavascriptRedisParser.execute (/Users/xxxx/xxxx/node_modules/redis-parser/lib/parser.js:533:24) at Socket. (/Users/xxxx/xxxx/node_modules/redis/index.js:219:27)

hunkydoryrepair commented 9 months ago

I've received this error:

ParserError: Protocol error, got "Ã" as reply type byte. Please report this.

but it is 1 in a billion. could be a legitimate network corruption or bug in the redis server?