Hi,
We have had issues with Redis, intermittently for a while now - some errors solved, but this one not.
The main problem has been with Redis shutting down; I can easily restart it but I haven't been able to trace the cause and the redis logs haven't been very helpful. This is the error we see online when it happens:
_Fatal error: Uncaught RedisException: No route to host in /home/b3a245/public_html/pawtucket/ca/vendor/tedivm/stash/src/Stash/Driver/Redis.php: 124 Stack trace: #0 /home/b3a245/public_html/pawtucket/ca/vendor/tedivm/stash/src/Stash/Driver/Redis.php(124): Redis->connect(localhost', 6379,'1) #1 /home/b3a245/public_html/pawtucket/ca/vendor/tedivm/stash/src/Stash/Driver/AbstractDriver.php(39):Stash\Driver\Redis->setOptions(Array)#2/home/b3a24e5/public_html/pawtucket/ca/app/lib/Cache/ExternalCache.php(284):Stash\Driver\AbstractDriver-> construct(Array) #3 home/63a245/public_html/pawtucket/ca/app/lib/Cache/ExternalCache.php(228):ExternalCache::getRedisObjectO#4/home/b3a24e5/public_html/pawtucket/ca/app/lib/Cache/ExternalCache.php(57):ExternalCache::getCacheObject)#5/home/63a245/public_html/pawtucket/ca/app/lib/Cache/ExternalCache.php(171):
ExternalCache:init) #6 /home/b3a24e5/public_html/pawtucket/ca/app/lib/Cache/CompositeCache.php(86): ExternalCache::contains('setup_php_mtime', 'default) #7 /home/b3a24e5/public_html/pawtucket/ca/app/helpers/utilityHelpers.php(4001): CompositeCache::contains('setup_php_mtime") #8 /home/b3a245/public_html/pawtucket/ca/app/lib/Configuration.php(185):caSetupPhpHasChanged)#9/home/b3a24e5/public_html/pawtucket/ca/app/lib/Configuration.php(109):Configuration-> construct('/home/b3a24e5/p...', true, false, true) #10
home/63a245/public_html/pawtucket/ca/app/lib/Configuration.php(162): Configuration:load( home/b3a245/p...', false, false, true) #11 /home/63a245/public_html/pawtucket/ca/app/lib/Configuration.php(109): Configuration->construct(/home/b3a24e5/p...', true, false, false) #12
home/b3a245/public_html/pawtucket/ca/app/lib/Configuration.php(166): Configuration::load(/home/b3a24e5/p..) #13 /home/b3a24e5/public_html/pawtucket/ca/app/lib/Configuration.php(109): Configuration->construct(home/b3a24e5/p...', true, false, false) #14 home/63a245/public_html/pawtucket/ca/app/helpers/utilityHelpers.php(63):Configuration::load(/home/b3a245/p...)#15/home/b3a24e5/public_html/pawtucket/ca/app/lib/Media/MedialnfoCoder.php(39):require_once('home/b3a24e5/p...#16/home/b3a24e5/public_html/pawtucket/ca/app/lib/Db/DbResult.php(33):
include_once('home/b3a24e5/p...') #17 /home/b3a24e5/public_html/pawtucket/ca/app/lib/Db/DbStatement.php(39):require_once('/home/b3a24e5/p...)#18/home/b3a24e5/public_html/pawtucket/ca/app/lib/Db.php(38):require_once('/home/b3a24e5/p...)#19 home/b3a245/public_html/pawtucket/ca/app/lib/Cache/PersistentCache.php(33):require_once('/home/b3a245/p...#20/home/b3a24e5/public_html/pawtucket/ca/app/helpers/preload.php(82):require_once('home/b3a24e5/p...)#21/home/b3a24e5/public_html/pawtucket/ca/app/helpers/post-setup.php(372):
require_once('/home/b3a245/p...') #22 /home/b3a24e5/public_html/pawtucket/ca/setup.php(250): require('/home/b3a24e5/p...) #23 /home/b3a24e5/public.
html/pawtucket/ca/index.php(37): require('/home/b3a24e5/p...') #24 {main} thrown in
/home/b3a245/public_html/pawtucket/ca/vendor/tedivm/stash/src/Stash/Driver/Redis.phpon line 124
Everything works fine when restarting redis but we'd like to understand what is causing it to stop in the first place and our web host support can't tell us much as these errors ref C/A. Thanks.