I am trying to move SwiftRedis to Swift 3 (IOS10, Xcode 8). After fixing compiler errors I am receiving the connection error. The whole log is below. Could you please help to fix it
input stream: <stream is nil> output stream: <stream is nil> connecting... input stream: .OpenCompleted sending next command: Optional(RedisCommand(auth)) sendPendingDataIfPossible: not sending data because outputStream.hasSpaceAvaialble is false sending command string: Optional("*2\r\n$4\r\nAUTH\r\n$16\r\n<PASSWORD IS HERE>\r\n") input stream: .HasBytesAvaialable readData: reading up to 1024 from stream readData: read Optional(5) bytes read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")')
Hi,
I am trying to move SwiftRedis to Swift 3 (IOS10, Xcode 8). After fixing compiler errors I am receiving the connection error. The whole log is below. Could you please help to fix it
input stream: <stream is nil> output stream: <stream is nil> connecting... input stream: .OpenCompleted sending next command: Optional(RedisCommand(auth)) sendPendingDataIfPossible: not sending data because outputStream.hasSpaceAvaialble is false sending command string: Optional("*2\r\n$4\r\nAUTH\r\n$16\r\n<PASSWORD IS HERE>\r\n") input stream: .HasBytesAvaialable readData: reading up to 1024 from stream readData: read Optional(5) bytes read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")') read type char: 'Optional("\0")' RedisInterface: connection error Could not parse response received(unexpected character received while expecting type char: 'Optional("\0")')