Solarium\Exception\HttpException

Solr HTTP error: HTTP request failed

/var/www/clients/client0/web19/web/protected/extensions/YiiSolarium/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(229)

217      * Check result of a request
218      *
219      * @throws HttpException
220      * @param  string        $data
221      * @param  array         $headers
222      * @return void
223      */
224     public function check($data, $headers)
225     {
226         // if there is no data and there are no headers it's a total failure,
227         // a connection to the host was impossible.
228         if (empty($data) && count($headers) == 0) {
229             throw new HttpException("HTTP request failed");
230         }
231     }
232 }

Stack Trace

#0
+
 /var/www/clients/client0/web19/web/protected/extensions/YiiSolarium/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(124): Solarium\Core\Client\Adapter\Curl->check("", array())
119             $headers = array();
120             $data = '';
121         }
122 
123         curl_close($handle);
124         $this->check($data, $headers);
125 
126         return new Response($data, $headers);
127         // @codeCoverageIgnoreEnd
128     }
129 
#1
+
 /var/www/clients/client0/web19/web/protected/extensions/YiiSolarium/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(99): Solarium\Core\Client\Adapter\Curl->getResponse(Resource id #23, false)
094     {
095         // @codeCoverageIgnoreStart
096         $handle = $this->createHandle($request, $endpoint);
097         $httpResponse = curl_exec($handle);
098 
099         return $this->getResponse($handle, $httpResponse);
100         // @codeCoverageIgnoreEnd
101     }
102 
103     /**
104      * Get the response for a curl handle
#2
+
 /var/www/clients/client0/web19/web/protected/extensions/YiiSolarium/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(83): Solarium\Core\Client\Adapter\Curl->getData(Solarium\Core\Client\Request, Solarium\Core\Client\Endpoint)
78      * @param  Endpoint $endpoint
79      * @return Response
80      */
81     public function execute($request, $endpoint)
82     {
83         return $this->getData($request, $endpoint);
84     }
85 
86     /**
87      * Execute request
88      *
2024-03-19 08:44:54 Apache/2.4.10 (Debian) Yii Framework/1.1.13