an not get db size. It may fail to connect to the redis server. Please ensure that you can connect to the redis server using redis-cli code example
Example: redis-cli port host
$ redis-cli -h redis15.localnet.org -p 6390 ping
PONG
$ redis-cli -h redis15.localnet.org -p 6390 ping
PONG