Redis server : 3.2.8
PHP module : redis (3.1.1)
System test >> redis : no error. All are fine.
My redis config file :
Error :
PHP module : redis (3.1.1)
System test >> redis : no error. All are fine.
My redis config file :
PHP:
$config['Optimise']['redisServers'] = array(
array('host' => '127.0.0.1', 'port' => 6379)
);
$config['Optimise']['redisMaxDelay'] = 10; // if slave server is out of sync by more than this many seconds, switch to master
//$config['Optimise']['redisTimeout'] = 3; // if redis server doesn't respond in this many seconds, disconnect
$config['Optimise']['redisTimeout'] = 1; // if redis server doesn't respond in this many seconds, disconnect
//$config['Optimise']['redisRetry'] = 100; // retry connection in this many milliseconds
$config['Optimise']['redisRetry'] = 25; // retry connection in this many milliseconds
Error :
Code:
Error Info
ErrorException: Redis::connect(): connect() failed: Cannot assign requested address - library/DBTech/Optimise/Operator/Redis.php:46
Generated By: Unknown Account, Baru saja
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'Redis::connect(...', '/home/MY_USERNAME/pub...', 46, Array)
#1 /home/MY_USERNAME/public_html/library/DBTech/Optimise/Operator/Redis.php(46): Redis->connect('127.0.0.1', 6379, 1, '', 25)
#2 /home/MY_USERNAME/public_html/library/DBTech/Optimise/Operator/Abstract.php(332): DBTech_Optimise_Operator_Redis->connect()
#3 /home/MY_USERNAME/public_html/library/DBTech/Optimise/XenForo/Model/Forum.php(26): DBTech_Optimise_Operator_Abstract::createFromOptions('0')
#4 /home/MY_USERNAME/public_html/library/XenForo/ControllerHelper/ForumThreadPost.php(177): DBTech_Optimise_XenForo_Model_Forum->getForumById(11, Array)
#5 /home/MY_USERNAME/public_html/library/XenForo/ControllerHelper/ForumThreadPost.php(38): XenForo_ControllerHelper_ForumThreadPost->getForumOrError(11, Array)
#6 /home/MY_USERNAME/public_html/library/XenForo/ControllerPublic/Forum.php(182): XenForo_ControllerHelper_ForumThreadPost->assertForumValidAndViewable(11, Array)
#7 /home/MY_USERNAME/public_html/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Forum->actionForum()
#8 /home/MY_USERNAME/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/MY_USERNAME/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(68) "http://xxxxxxxxxxxxxxxxxx/forums/xxxxxxxxxxxx.1/page-2"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}