stefanwille / crystal-redis

Full featured Redis client for Crystal
MIT License
380 stars 61 forks source link

Protocol error: expected '$', got ':' #46

Closed MrSorcus closed 6 years ago

MrSorcus commented 6 years ago
[root@server]/tmp# /tmp/crystal-0.24.0-2/bin/crystal run test.cr 
RedisError: ERR Protocol error: expected '$', got ':' (Redis::Error)
  from lib/redis/src/redis/connection.cr:79:7 in 'receive'
  from lib/redis/src/redis/strategy/single_statement.cr:12:5 in 'command'
  from lib/redis/src/redis.cr:219:5 in 'command'
  from lib/redis/src/redis/command_execution/value_oriented.cr:31:9 in 'string_command'
  from lib/redis/src/redis/commands.cr:81:7 in 'auth'
  from lib/redis/src/redis.cr:108:7 in 'initialize'
  from lib/redis/src/redis.cr:90:3 in 'new'
  from lib/redis/src/redis.cr:134:5 in '__crystal_main'
  from /tmp/crystal-0.24.0-2/src/crystal/main.cr:11:3 in '_crystal_main'
  from /tmp/crystal-0.24.0-2/src/crystal/main.cr:112:5 in 'main_user_code'
  from /tmp/crystal-0.24.0-2/src/crystal/main.cr:101:7 in 'main'
  from /tmp/crystal-0.24.0-2/src/crystal/main.cr:135:3 in 'main'
  from __libc_start_main
  from ???
  from ???
Crystal 0.23.0+313 [ea4187c57] (2017-10-27)

LLVM: 3.9.1
Default target: x86_64-unknown-linux-gnu

redis-cli 4.0.2

Redis server v=4.0.2 sha=00000000:0 malloc=jemalloc-4.0.3 bits=64 build=7f1ccca440c3fe09

P.S. I think that i found a problem... In my code... X-) Closed.