Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 1130

Fatal error: Uncaught Zend_Cache_Exception: The redis database could not be selected. in /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php:209 Stack trace: #0 /var/www/html/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(359): Zend_Cache::throwException('The redis datab...') #1 /var/www/html/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(238): Cm_Cache_Backend_Redis->_applyClientOptions(Object(Credis_Client)) #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_Redis->__construct(Array) #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true) #4 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(158): Zend_Cache::factory('Magento\\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true) #5 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(67): Magento\Framework\App\Cache\Frontend\Factory->creat in /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php on line 209