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
  trace: {
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:726 {
      Elasticsearch\Connections\Connection->process5xxError(array $request, array $response, array $ignore): ElasticsearchException …
      › } else {    $exception = new ServerErrorResponseException(        $this->convertBodyToString($responseBody, $statusCode, $exception),
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:336 {
      Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure} …
      ›     $ignore = $request['client']['ignore'] ?? [];    $this->process5xxError($request, $response, $ignore);}
      arguments: {
        $request: array:6 [ …6]
        $response: array:8 [ …8]
        $ignore: []
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/react/promise/src/FulfilledPromise.php:28 {
      React\Promise\FulfilledPromise->then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) …
      › try {    return resolve($onFulfilled($this->value));} catch (\Throwable $exception) {
      arguments: {
        array:8 [ …8]
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/ezimuel/ringphp/src/Future/CompletedFutureValue.php:65 {
      GuzzleHttp\Ring\Future\CompletedFutureValue->then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) …
      › ) {    return $this->promise()->then($onFulfilled, $onRejected, $onProgress);}
      arguments: {
        $onFulfilled: Closure($response) {#476 …}
        $onRejected: null
        $onProgress: null
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/ezimuel/ringphp/src/Core.php:341 {
      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'],
      arguments: {
        $onFulfilled: Closure($response) {#476 …}
        $onRejected: null
        $onProgress: null
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:345 {
      Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure} …
      ›         return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body'];    });
      arguments: {
        $future: GuzzleHttp\Ring\Future\CompletedFutureArray {#477 …}
        $onFulfilled: Closure($response) {#476 …}
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:241 {
      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);arguments: {
        array:6 [ …6]
        Elasticsearch\Connections\Connection {#235 …}
        Elasticsearch\Transport {#238 …}
        []
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php:110 {
      Elasticsearch\Transport->performRequest(string $method, string $uri, array $params = [], $body = null, array $options = []): FutureArrayInterface …
      › $future = $connection->performRequest(    $method,    $uri,
      arguments: {
        $method: "POST"
        $uri: "/vdbproducts/_search"
        $params: []
        $body: "{"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}}}}}}}}"
        $options: []
        $transport: Elasticsearch\Transport {#238 …}
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:1929 {
      Elasticsearch\Client->performRequest(AbstractEndpoint $endpoint) …
      ›     $endpoint->getBody(),    $endpoint->getOptions());
      arguments: {
        $method: "POST"
        $uri: "/vdbproducts/_search"
        $params: []
        $body: array:3 [ …3]
        $options: []
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:1353 {
      Elasticsearch\Client->search(array $params = []) …
      › 
      ›     return $this->performRequest($endpoint);}
      arguments: {
        $endpoint: Elasticsearch\Endpoints\Search {#488 …}
      }
    }
    /usr/home/vhosts/voordeelbikes/src/Services/AbstractSearchService.php:378 {
      App\Services\AbstractSearchService->callClientForResult(string $esObjectGroupName, array $query, bool $debug) …
      › 
      ›     return $this->client->search($query);}
      arguments: {
        $params: []
      }
    }
    /usr/home/vhosts/voordeelbikes/src/Services/ProductsSearchService.php:201 {
      App\Services\ProductsSearchService->findFilterOptions(string $categorySlug, array $filters) …
      ›     ProductsSearchQueries::findFilterOptions($categorySlug, $filters),    false);
      arguments: {
        $esObjectGroupName: "vdbproducts"
        $query: array:2 [ …2]
        $debug: false
      }
    }
    /usr/home/vhosts/voordeelbikes/src/Services/CategoryService.php:45 {
      App\Services\CategoryService->getCategoryFilters(Category $category, array $userFilters): array …
      › $options = $this->productsSearchService->findFilterOptions(    $category->getSlug(),    $userFilters
      arguments: {
        $categorySlug: "fietsen"
        $filters: array:4 [ …4]
      }
    }
    /usr/home/vhosts/voordeelbikes/src/Controller/CategoryController.php:72 {
      App\Controller\CategoryController->categoryPage(Request $request, string $slug, int $page = 1): Response …
      › 'category' => $category,'filters' => $this->categoryService->getCategoryFilters($category, $filterData),'active_filters' => $filterKeys,
      arguments: {
        $category: App\Entity\Category {#517 …}
        $userFilters: array:4 [ …4]
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/symfony/http-kernel/HttpKernel.php:166 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
        $slug: "fietsen"
        $page: 1
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/symfony/http-kernel/HttpKernel.php:74 {
      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) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
        $type: 1
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/symfony/http-kernel/Kernel.php:197 {
      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 {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
        $type: 1
        $catch: true
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
      }
    }
    /usr/home/vhosts/voordeelbikes/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /usr/home/vhosts/voordeelbikes/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/usr/home/vhosts/voordeelbikes/vendor/autoload_runtime.php"
      }
    }
  }
}
Whoeps, er ging wat mis! - VoordeelBikes.nl

Whoeps, er ging wat mis!

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.

not found