Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed: No address associated with hostname in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 572

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed: No address associated with hostname in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 572

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed: No address associated with hostname in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 572

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed: No address associated with hostname in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 572

Fatal error: Uncaught CredisException: Connection to Redis tcp://redis:6379 failed after 2 failures.Last Error : (1) php_network_getaddresses: getaddrinfo for redis failed: No address associated with hostname in /var/www/html/vendor/colinmollenhour/credis/Client.php:590 Stack trace: #0 /var/www/html/vendor/colinmollenhour/credis/Client.php(586): Credis_Client->connect() #1 /var/www/html/vendor/colinmollenhour/credis/Client.php(973): Credis_Client->connect() #2 /var/www/html/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(502): Credis_Client->__call('hGet', Array) #3 /var/www/html/vendor/magento/framework/Cache/Backend/Redis.php(64): Cm_Cache_Backend_Redis->load('69d_GLOBAL__DIC...', false) #4 /var/www/html/vendor/magento/zend-cache/library/Zend/Cache/Core.php(306): Magento\Framework\Cache\Backend\Redis->load('69d_GLOBAL__DIC...', false) #5 /var/www/html/vendor/magento/framework/Cache/Frontend/Adapter/Zend.php(62): Zend_Cache_Core->load('69d_GLOBAL__DIC...') #6 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Adapter\Zend->load('global::DiConfi...') #7 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #8 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #9 /var/www/html/vendor/magento/framework/App/Cache/Type/AccessProxy.php(74): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #10 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\AccessProxy->load('global::DiConfi...') #11 /var/www/html/vendor/magento/framework/App/ObjectManager/ConfigLoader.php(73): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #12 /var/www/html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(79): Magento\Framework\App\ObjectManager\ConfigLoader->load('global') #13 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array) #14 /var/www/html/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array) #15 /var/www/html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/var/www/html', Array) #16 /var/www/html/pub/index.php(27): Magento\Framework\App\Bootstrap::create('/var/www/html', Array) #17 {main} thrown in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 590