BadRequest400Exception {#121
  #message: "{"error":{"root_cause":[{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@3fa65f22 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1221, completed tasks = 4276969886]]"},{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@8c3d2cc on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1222, completed tasks = 4276969886]]"},{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@7cd24b25 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1223, completed tasks = 4276969886]]"},{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@357453dc on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1224, completed tasks = 4276969886]]"},{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@38a6551f on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1225, completed tasks = 4276969886]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"products_new","node":"u6UgBuEPQKGye5t5V9GDrw","reason":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@3fa65f22 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1221, completed tasks = 4276969886]]"}},{"shard":1,"index":"products_new","node":"u6UgBuEPQKGye5t5V9GDrw","reason":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@8c3d2cc on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1222, completed tasks = 4276969886]]"}},{"shard":2,"index":"products_new","node":"u6UgBuEPQKGye5t5V9GDrw","reason":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@7cd24b25 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1223, completed tasks = 4276969886]]"}},{"shard":3,"index":"products_new","node":"u6UgBuEPQKGye5t5V9GDrw","reason":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@357453dc on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1224, completed tasks = 4276969886]]"}},{"shard":4,"index":"products_new","node":"u6UgBuEPQKGye5t5V9GDrw","reason":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@38a6551f on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1225, completed tasks = 4276969886]]"}}],"caused_by":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@3fa65f22 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1221, completed tasks = 4276969886]]","caused_by":{"type":"es_rejected_execution_exception","reason":"rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@3fa65f22 on QueueResizingEsThreadPoolExecutor[name = u6UgBuE/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 327.5ms, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@7836e103[Running, pool size = 37, active threads = 37, queued tasks = 1221, completed tasks = 4276969886]]"}}},"status":429}"
  #code: 429
  #file: "/var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php"
  #line: 636
  trace: {
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:636 {} else {    $exception = new BadRequest400Exception($responseBody, $statusCode);}
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:295 {    $ignore = isset($request['client']['ignore']) ? $request['client']['ignore'] : [];    $this->process4xxError($request, $response, $ignore);} elseif ($response['status'] >= 500) {
      arguments: {
        $request: array:5 [ …5]
        $response: array:8 [ …8]
        $ignore: []
      }
    }
    /var/www/happywear.ru/vendor/react/promise/src/FulfilledPromise.php:28 {try {    return resolve($onFulfilled($this->value));} catch (\Throwable $exception) {
      arguments: {
        array:8 [ …8]
      }
    }
    /var/www/happywear.ru/vendor/ezimuel/ringphp/src/Future/CompletedFutureValue.php:55 {) {    return $this->promise()->then($onFulfilled, $onRejected, $onProgress);}
      arguments: {
        $onFulfilled: Closure {#115 …}
        $onRejected: null
        $onProgress: null
      }
    }
    /var/www/happywear.ru/vendor/ezimuel/ringphp/src/Core.php:341 {return new FutureArray(    $future->then($onFulfilled, $onRejected, $onProgress),    [$future, 'wait'],
      arguments: {
        $onFulfilled: Closure {#115 …}
        $onRejected: null
        $onProgress: null
      }
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:315 {    return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body'];});arguments: {
        $future: CompletedFutureArray {#107 …}
        $onFulfilled: Closure {#115 …}
      }
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:187 {$handler = $this->handler;$future = $handler($request, $this, $transport, $options);arguments: {
        array:5 [ …5]
        Connection {#21 …}
        Transport {#24 …}
        []
      }
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php:112 {    $options,    $this);
      arguments: {
        $method: "POST"
        $uri: "/products_new/_doc/_search"
        $params: []
        $body: "{"from":0,"size":0,"query":{"function_score":{"query":{"bool":{"must":[{"bool":{"should":[{"match":{"isOutOfStock":false}}]}},{"bool":{"should":[{"match":{"hasAnySizes":true}}]}},{"bool":{"should":[{"match":{"hasAnySizes":true}}]}},{"bool":{"should":[{"match":{"categories":"936"}}]}},{"term":{"status":1}}],"must_not":[{"bool":{"should":[{"match":{"categories":"1067"}}]}}]}},"script_score":{"script":{"source":"def score = _score; if (doc['sizeInStock.ids.keyword'].size() == doc['size.ids.keyword'].size()) {score = score*1.3} else {score= score*1} return score"}}}},"aggs":{"subCategories":{"terms":{"field":"categories.keyword","size":10000,"order":{"_key":"asc"}}},"manufacturers":{"terms":{"field":"manufacturer.id.keyword","size":10000,"order":{"_key":"asc"}}},"russianSizesInStock":{"terms":{"field":"rusSizeInStock.names.keyword","size":10000,"order":{"_key":"asc"}}},"shoesSizesInStock":{"terms":{"field":"shoeSizeInStock.names.keyword","size":10000,"order":{"_key":"asc"}}},"sizesInStock":{"terms":{"field":"sizeInStock.ids.keyword","size":10000,"order":{"_key":"asc"}}},"pillowcaseSizesInStock":{"terms":{"field":"pillowcaseSizes.inStock.keyword","size":10000,"order":{"_key":"asc"}}},"genders":{"terms":{"field":"genderId.keyword","size":10000,"order":{"_key":"asc"}}},"colors":{"terms":{"field":"color.keyword","size":10000,"order":{"_key":"asc"}}},"materials":{"terms":{"field":"material.keyword","size":10000,"order":{"_key":"asc"}}},"sheets":{"terms":{"field":"number_of_sheets.keyword","size":10000,"order":{"_key":"asc"}}},"locations":{"terms":{"field":"manufacturer.location.keyword","size":10000,"order":{"_key":"asc"}}},"largeWholesalePrice":{"terms":{"field":"price.largeWholesalePrice","size":10000,"order":{"_key":"asc"}}}}}"
        $options: []
        $transport: Transport {#24 …}
      }
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:1586 {    $endpoint->getBody(),    $endpoint->getOptions());
      arguments: {
        $method: "POST"
        $uri: "/products_new/_doc/_search"
        $params: []
        $body: array:4 [ …4]
        $options: []
      }
    }
    /var/www/happywear.ru/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:970 {
      › 
      ›     return $this->performRequest($endpoint);}
      arguments: {
        $endpoint: Search {#116 …}
      }
    }
    /var/www/happywear.ru/packages/Utils/ElasticSearch.php:409 {
      › 
      › $response = $this->elastic->search($this->query);arguments: {
        $params: []
      }
    }
    /var/www/happywear.ru/catalog/model/elastic/product.php:367 {$this->elastic->setScoreScript(true, false);$results = $this->elastic->executeQuery();}
    /var/www/happywear.ru/catalog/controller/module/product_filter.php:624 {if (!$aggs) {    $aggs = $this->model_elastic_product->getAggregationForEmptyFilters($types, $elasticQueryData);    $this->elastic_cache->set('elasticCategory_' . $this->deliveryZone . '.' . $cache, $aggs);
      arguments: {
        $types: array:12 [ …12]
        $elasticData: array:27 [ …27]
      }
    }
    /var/www/happywear.ru/catalog/controller/module/product_filter.php:153 {if ((int)$category['parent_id'] !== -1 || $this->_isSpecialCategory($category_id)) {    $this->_filterByCategory($url, $category_id);}
      arguments: {
        $url: "&path=6_1337_936"
        $category_id: "936"
      }
    }
    /var/www/happywear.ru/system/engine/Controller.php:45 {\r$controller->$method($args);\r\r
      arguments: {
        []
      }
    }
    /var/www/happywear.ru/catalog/controller/common/column_left.php:100 {foreach ($module_data as $module) {\r    $module = $this->getChild('module/' . $module['code'], $module['setting']);\r\r
      arguments: {
        $child: "module/product_filter"
        $args: array:4 [ …4]
      }
    }
    /var/www/happywear.ru/system/engine/Controller.php:45 {\r$controller->$method($args);\r\r
      arguments: {
        []
      }
    }
    /var/www/happywear.ru/system/engine/Controller.php:56 {foreach ($this->children as $child) {\r\t$this->data[basename($child)] = $this->getChild($child);\r}\r
      arguments: {
        $child: "common/column_left"
      }
    }
    /var/www/happywear.ru/catalog/controller/product/category.php:829 {
      › 
      ›     $this->response->setOutput($this->render());} else {
    }
    ControllerProductCategory->index() {}
    /var/www/happywear.ru/system/engine/Front.php:49 {if (is_callable(array($controller, $method))) {\r\t$action = call_user_func_array(array($controller, $method), $args);\r} else {\r
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: []
      }
    }
    /var/www/happywear.ru/system/engine/Front.php:31 {while ($action) {\r\t$action = $this->execute($action);\r}\r
      arguments: {
        $action: ""
      }
    }
    /var/www/happywear.ru/index.php:347 {    // Dispatch    $controller->dispatch($action, new Action('error/not_found'));}catch (\Exception $e){
      arguments: {
        $action: Action {#94 …}
        $error: Action {#89 …}
      }
    }
  }
}