Exception

Exception Message:

Server error: `GET http://api:3000/products/categoryid/99788?page=1&perPage=11&preview=0&country=ru&nomemcached=1&searchV2=1` resulted in a `500 Internal Server Error` response: {"success":false,"errors":["Invalid response status code of the search service: 502\nDetails:\n"],"data":[]}

Alice Debug Trace:

#0 /ww-shop/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 /ww-shop/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true) #5 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending() #7 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /ww-shop/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 /ww-shop/vendor/guzzlehttp/guzzle/src/Client.php(183): GuzzleHttp\Promise\Promise->wait() #10 /ww-shop/alice/vendor/Alice/Module/Api/Model/ApiAdapter.php(291): GuzzleHttp\Client->request('GET', '/products/categ...', Array) #11 /ww-shop/alice/vendor/Alice/Module/Api/Model/ApiAdapter.php(68): Alice_Module_Api_Model_ApiAdapter->sendRequest('/products/categ...', Array, NULL) #12 /ww-shop/alice/vendor/Alice/Controller/Action/Product/ShowAction.php(1055): Alice_Module_Api_Model_ApiAdapter->category(99788, Array) #13 /ww-shop/alice/vendor/Alice/Controller/Action/Product/ShowAction.php(259): Alice\Controller\Action\Product\ShowAction->getTopSellerElements(Object(Alice_Module_Product_Model_Product)) #14 /ww-shop/alice/vendor/Alice/Controller/Action/Product/ShowAction.php(152): Alice\Controller\Action\Product\ShowAction->renderTopSeller(Object(Alice_Module_Product_Model_Product)) #15 /ww-shop/vendor/yiisoft/yii/framework/web/actions/CAction.php(76): Alice\Controller\Action\Product\ShowAction->run() #16 /ww-shop/vendor/yiisoft/yii/framework/web/CController.php(308): CAction->runWithParams(Array) #17 /ww-shop/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(Alice\Controller\Action\Product\ShowAction)) #18 /ww-shop/vendor/yiisoft/yii/framework/web/filters/CFilter.php(40): CFilterChain->run() #19 /ww-shop/alice/vendor/Alice/Component/Controller.php(2249): CFilter->filter(Object(CFilterChain)) #20 /ww-shop/vendor/yiisoft/yii/framework/web/filters/CInlineFilter.php(58): Alice_Component_Controller->filterHttps(Object(CFilterChain)) #21 /ww-shop/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain)) #22 /ww-shop/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run() #23 /ww-shop/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(Alice\Controller\Action\Product\ShowAction), Array) #24 /ww-shop/alice/vendor/Alice/Application.php(247): CController->run('show') #25 /ww-shop/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): Alice_Application->runController('product/show') #26 /ww-shop/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() #27 /ww-shop/alice/vendor/Alice/Application.php(340): CApplication->run() #28 /ww-shop/alice/public/index.php(84): Alice_Application->run() #29 {main}

Output: