2015-02-19, 21:00
Is there a way to increase the default 10 second timeout while trying to load the library? I have a massive TV collection that will need a bit more time before causing an exception.
exception 'CHttpException' with message 'Exception caught while calling XBMC API: Read timed out after 10 seconds (1000)' in C:\xampp\htdocs\xbmc-video-server\src\protected\components\XBMC.php:170
Stack trace:
#0 C:\xampp\htdocs\xbmc-video-server\src\protected\components\XBMC.php(110): XBMC->handleRequestException(Object(SimpleJsonRpcClient\Exception\ClientException), Object(SimpleJsonRpcClient\Request\Request))
#1 C:\xampp\htdocs\xbmc-video-server\src\protected\components\XBMC.php(76): XBMC->performRequestUncached('VideoLibrary.Ge...', Array, 0)
#2 C:\xampp\htdocs\xbmc-video-server\src\protected\models\VideoLibrary.php(155): XBMC->performRequest('VideoLibrary.Ge...', Array)
#3 C:\xampp\htdocs\xbmc-video-server\src\protected\models\VideoLibrary.php(68): VideoLibrary::getTVShows(Array)
#4 C:\xampp\htdocs\xbmc-video-server\src\protected\widgets\filter\VideoFilter.php(141): VideoLibrary::getActors('tvshow')
#5 C:\xampp\htdocs\xbmc-video-server\src\protected\widgets\filter\VideoFilter.php(119): VideoFilter->{closure}()
#6 C:\xampp\htdocs\xbmc-video-server\src\protected\widgets\filter\VideoFilter.php(142): VideoFilter->getTypeaheadSource('MovieFilterActo...', Object(Closure))
#7 C:\xampp\htdocs\xbmc-video-server\src\protected\widgets\filter\TVShowFilter.php(26): VideoFilter->getActorNameTypeaheadData('tvshow')
#8 C:\xampp\htdocs\xbmc-video-server\src\protected\widgets\filter\VideoFilter.php(52): TVShowFilter->renderControls()
#9 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CBaseController.php(173): VideoFilter->run()
#10 C:\xampp\htdocs\xbmc-video-server\src\protected\views\tvShow\index.php(13): CBaseController->widget('TVShowFilter', Array)
#11 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CBaseController.php(126): require('C:\\xampp\\htdocs...')
#12 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CBaseController.php(95): CBaseController->renderInternal('C:\\xampp\\htdocs...', Array, true)
#13 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(869): CBaseController->renderFile('C:\\xampp\\htdocs...', Array, true)
#14 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(782): CController->renderPartial('index', Array, true)
#15 C:\xampp\htdocs\xbmc-video-server\src\protected\controllers\MediaController.php(218): CController->render('index', Array)
#16 C:\xampp\htdocs\xbmc-video-server\src\protected\controllers\TvShowController.php(38): MediaController->renderIndex(Array, Object(TVShowFilterForm))
#17 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\actions\CInlineAction.php(49): TvShowController->actionIndex()
#18 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#19 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#20 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilter.php(40): CFilterChain->run()
#21 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(130): CFilter->filter(Object(CFilterChain))
#22 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilter.php(40): CFilterChain->run()
#23 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(1145): CFilter->filter(Object(CFilterChain))
#24 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))
#25 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#26 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilter.php(40): CFilterChain->run()
#27 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(130): CFilter->filter(Object(CFilterChain))
#28 C:\xampp\htdocs\xbmc-video-server\src\protected\controllers\base\Controller.php(78): CFilterChain->run()
#29 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CInlineFilter.php(58): Controller->filterCheckConfiguration(Object(CFilterChain))
#30 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#31 C:\xampp\htdocs\xbmc-video-server\src\protected\controllers\base\Controller.php(61): CFilterChain->run()
#32 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CInlineFilter.php(58): Controller->filterRequireLogin(Object(CFilterChain))
#33 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#34 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(291): CFilterChain->run()
#35 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#36 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CWebApplication.php(282): CController->run('index')
#37 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\web\CWebApplication.php(141): CWebApplication->runController('tvShow/index')
#38 C:\xampp\htdocs\xbmc-video-server\vendor\yiisoft\yii\framework\base\CApplication.php(180): CWebApplication->processRequest()
#39 C:\xampp\htdocs\xbmc-video-server\src\index.php(17): CApplication->run()
#40 {main}
REQUEST_URI=/xbmc-video-server/src/tvShow/index
HTTP_REFERER=http://therapebox.cr.rs:8087/xbmc-video-server/src/log/105
---
(2015-02-19, 21:00)mrlindstrom Wrote: Is there a way to increase the default 10 second timeout while trying to load the library? I have a massive TV collection that will need a bit more time before causing an exception.