Elasticsearch\Common\Exceptions\ServerErrorResponseException {#468 #message: """ <html><body><h1>502 Bad Gateway</h1>\n The server returned an invalid or incomplete response.\n </body></html>\n """ #code: 502 #file: "/usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php" #line: 726 : { { Elasticsearch\Connections\Connection->process5xxError(array $request, array $response, array $ignore): ElasticsearchException … ›} else {
›$exception = new ServerErrorResponseException(
›$this->convertBodyToString($responseBody, $statusCode, $exception),
} { Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure} … ›$ignore = $request['client']['ignore'] ?? [];
›$this->process5xxError($request, $response, $ignore);
›}
: { : array:6 [ …6] : array:8 [ …8] : [] } } { React\Promise\FulfilledPromise->then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) … ›try {
›return resolve($onFulfilled($this->value));
›} catch (\Throwable $exception) {
: { array:8 [ …8] } } { GuzzleHttp\Ring\Future\CompletedFutureValue->then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) … ›) {
›return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
›}
: { : Closure($response) {#476 …} : null : null } } { GuzzleHttp\Ring\Core::proxy(FutureArrayInterface $future, callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) … ›return new FutureArray(
›$future->then($onFulfilled, $onRejected, $onProgress),
›[$future, 'wait'],
: { : Closure($response) {#476 …} : null : null } } { Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure} … ›return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body'];
›}
›);
: { : GuzzleHttp\Ring\Future\CompletedFutureArray {#477 …} : Closure($response) {#476 …} } } { Elasticsearch\Connections\Connection->performRequest(string $method, string $uri, array $params = [], $body = null, array $options = [], Transport $transport = null) … ›$handler = $this->handler;
›$future = $handler($request, $this, $transport, $options);
› : { array:6 [ …6] Elasticsearch\Connections\Connection {#235 …} Elasticsearch\Transport {#238 …} [] } } { Elasticsearch\Transport->performRequest(string $method, string $uri, array $params = [], $body = null, array $options = []): FutureArrayInterface … ›$future = $connection->performRequest(
›$method,
›$uri,
: { : "POST" : "/vdbproducts/_search" : [] : "{"size":0,"query":{"bool":{"must":[{"nested":{"path":"categories","query":{"match":{"categories.slug":"fietsen"}}}}]}},"aggs":{"facets":{"nested":{"path":"facets"},"aggs":{"facets":{"terms":{"field":"facets.label_slug","size":60},"aggs":{"facets_values":{"terms":{"field":"facets.value_slug","size":30}}}}}}}}" : [] : Elasticsearch\Transport {#238 …} } } { Elasticsearch\Client->performRequest(AbstractEndpoint $endpoint) … ›$endpoint->getBody(),
›$endpoint->getOptions()
›);
: { : "POST" : "/vdbproducts/_search" : [] : array:3 [ …3] : [] } } { Elasticsearch\Client->search(array $params = []) … › ›return $this->performRequest($endpoint);
›}
: { : Elasticsearch\Endpoints\Search {#488 …} } } { App\Services\AbstractSearchService->callClientForResult(string $esObjectGroupName, array $query, bool $debug) … › ›return $this->client->search($query);
›}
: { : [] } } { App\Services\ProductsSearchService->findFilterOptions(string $categorySlug, array $filters) … ›ProductsSearchQueries::findFilterOptions($categorySlug, $filters),
›false
›);
: { : "vdbproducts" : array:2 [ …2] : false } } { App\Services\CategoryService->getCategoryFilters(Category $category, array $userFilters): array … ›$options = $this->productsSearchService->findFilterOptions(
›$category->getSlug(),
›$userFilters
: { : "fietsen" : array:1 [ …1] } } { App\Controller\CategoryController->categoryPage(Request $request, string $slug, int $page = 1): Response … ›'category' => $category,
›'filters' => $this->categoryService->getCategoryFilters($category, $filterData),
›'active_filters' => $filterKeys,
: { : App\Entity\Category {#517 …} : array:1 [ …1] } } { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›// call controller
›$response = $controller(...$arguments);
› : { : Symfony\Component\HttpFoundation\Request {#4 …} : "fietsen" : 1 } } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {
›return $this->handleRaw($request, $type);
›} catch (\Throwable $e) {
: { : Symfony\Component\HttpFoundation\Request {#4 …} : 1 } } { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {
›return $this->getHttpKernel()->handle($request, $type, $catch);
›} finally {
: { : Symfony\Component\HttpFoundation\Request {#4 …} : 1 : true } } { Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int … ›{
›$response = $this->kernel->handle($this->request);
›$response->send();
: { : Symfony\Component\HttpFoundation\Request {#4 …} } } { require_once … ›->getRunner($app)
›->run()
›);
} { › ›require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
› : { "/usr/home/vhosts/voordeelbikes/vendor/autoload_runtime.php" } } } }
Onze excuses voor het ongemak. Er ging wat mis tijdens het verwerken van je aanvraag. Onze developers worden automatisch op de hoogte gebracht en gaan er mee aan de slag.