Aller au contenu principal
Vous n'êtes pas autorisé(e) à accéder à cette page.
^ GuzzleHttp\Exception\ClientException {#2309
  #message: """
    Client error: `GET https://api.apimo.pro/agencies/21324/properties` resulted in a `429 Too Many Requests` response:\n
    {"status":429,"title":"Too Many Requests","detail":"Please limit your daily request to the server"}\n
    """
  #code: 429
  #file: "/is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 113
  -request: GuzzleHttp\Psr7\Request {#2297
    -method: "GET"
    -requestTarget: null
    -uri: GuzzleHttp\Psr7\Uri {#2225
      -scheme: "https"
      -userInfo: ""
      -host: "api.apimo.pro"
      -port: null
      -path: "/agencies/21324/properties"
      -query: ""
      -fragment: ""
      -composedComponents: "https://api.apimo.pro/agencies/21324/properties"
    }
    -headers: array:4 [
      "User-Agent" => array:1 [
        0 => "Drupal/10.0.11 (+https://www.drupal.org/) GuzzleHttp/7"
      ]
      "Authorization" => array:1 [
        0 => "Basic MzU0OTpkZjcxYjVkOTU0ZWMzM2M5ZGVmNTZjMmU0YTY1NzI3MTRjZDc5OTE3"
      ]
      "Host" => array:1 [
        0 => "api.apimo.pro"
      ]
      "Content-Type" => array:1 [
        0 => "application/json;charset=UTF-8"
      ]
    ]
    -headerNames: array:4 [
      "user-agent" => "User-Agent"
      "authorization" => "Authorization"
      "host" => "Host"
      "content-type" => "Content-Type"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#2296
      -stream: stream resource @16
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 0
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -response: GuzzleHttp\Psr7\Response {#2306
    -reasonPhrase: "Too Many Requests"
    -statusCode: 429
    -headers: array:10 [
      "Server" => array:1 [
        0 => "nginx"
      ]
      "Date" => array:1 [
        0 => "Thu, 28 Mar 2024 16:31:44 GMT"
      ]
      "Content-Type" => array:1 [
        0 => "application/json; charset=utf-8"
      ]
      "Transfer-Encoding" => array:1 [
        0 => "chunked"
      ]
      "Connection" => array:1 [
        0 => "keep-alive"
      ]
      "Keep-Alive" => array:1 [
        0 => "timeout=10"
      ]
      "Expires" => array:1 [
        0 => "Thu, 19 Nov 1981 08:52:00 GMT"
      ]
      "Cache-Control" => array:1 [
        0 => "no-store, no-cache, must-revalidate"
      ]
      "Pragma" => array:1 [
        0 => "no-cache"
      ]
      "Set-Cookie" => array:1 [
        0 => "symfony=ofg29nnp9im4cscsv52ldqag93; expires=Fri, 29-Mar-2024 04:08:24 GMT; Max-Age=41800; path=/"
      ]
    ]
    -headerNames: array:10 [
      "server" => "Server"
      "date" => "Date"
      "content-type" => "Content-Type"
      "transfer-encoding" => "Transfer-Encoding"
      "connection" => "Connection"
      "keep-alive" => "Keep-Alive"
      "expires" => "Expires"
      "cache-control" => "Cache-Control"
      "pragma" => "Pragma"
      "set-cookie" => "Set-Cookie"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#2302
      -stream: stream resource @18
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 99
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  trace: {
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 {
      GuzzleHttp\Exception\RequestException::create(RequestInterface $request, ResponseInterface $response = null, Throwable $previous = null, array $handlerContext = [], BodySummarizerInterface $bodySummarizer = null): self …
      › 
      ›     return new $className($message, $request, $response, $previous, $handlerContext);}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/guzzle/src/Middleware.php:69 {
      GuzzleHttp\Middleware::GuzzleHttp\{closure} …
      ›     }    throw RequestException::create($request, $response, null, [], $bodySummarizer);}
      arguments: {
        $request: GuzzleHttp\Psr7\Request {#2297}
        $response: GuzzleHttp\Psr7\Response {#2306}
        $previous: null
        $handlerContext: []
        $bodySummarizer: null
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:204 {
      GuzzleHttp\Promise\Promise::callHandler($index, $value, array $handler) …
      ›     unset($handler);    $promise->resolve($f($value));} elseif ($index === 1) {
      arguments: {
        GuzzleHttp\Psr7\Response {#2306}
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:153 {
      GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure} …
      › foreach ($handlers as $handler) {    self::callHandler($id, $value, $handler);}
      arguments: {
        $index: 1
        $value: GuzzleHttp\Psr7\Response {#2306}
        $handler: null
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/TaskQueue.php:48 {
      GuzzleHttp\Promise\TaskQueue->run() …
      ›     /** @var callable $task */    $task();}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:248 {
      GuzzleHttp\Promise\Promise->invokeWaitFn() …
      ›     $this->waitFn = null;    $wfn(true);} catch (\Exception $reason) {
      arguments: {
        true
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:224 {
      GuzzleHttp\Promise\Promise->waitIfPending() …
      › } elseif ($this->waitFn) {    $this->invokeWaitFn();} elseif ($this->waitList) {
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:269 {
      GuzzleHttp\Promise\Promise->invokeWaitList() …
      › do {    $result->waitIfPending();    $result = $result->result;
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:226 {
      GuzzleHttp\Promise\Promise->waitIfPending() …
      › } elseif ($this->waitList) {    $this->invokeWaitList();} else {
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/promises/src/Promise.php:62 {
      GuzzleHttp\Promise\Promise->wait($unwrap = true) …
      › {    $this->waitIfPending();}
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/guzzle/src/Client.php:187 {
      GuzzleHttp\Client->request(string $method, $uri = '', array $options = []): ResponseInterface …
      ›     $options[RequestOptions::SYNCHRONOUS] = true;    return $this->requestAsync($method, $uri, $options)->wait();}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/guzzlehttp/guzzle/src/ClientTrait.php:44 {
      GuzzleHttp\Client->get($uri, array $options = []): ResponseInterface …
      › {    return $this->request('GET', $uri, $options);}
      arguments: {
        $method: "GET"
        $uri: "https://api.apimo.pro/agencies/21324/properties"
        $options: array:3 [ …3]
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/modules/custom/src/Easy2pilot.php:512 {
      Drupal\custom\Easy2pilot->getAnnonces() …
      › try {  $response = $this->client->get($this->endpoint . '/properties', $options);  $response = $response->getBody()->getContents();
      arguments: {
        $uri: "https://api.apimo.pro/agencies/21324/properties"
        $options: array:2 [ …2]
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/modules/custom/src/Easy2pilot.php:100 {
      Drupal\custom\Easy2pilot->sync() …
      › $included_in_feed = [];$liste_annonces = $this->getAnnonces();$logger->debug('Starting sync ('.count($liste_annonces).' items)');
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/modules/custom/custom.module:171 {
      custom_cron() …
      › function custom_cron() {  \Drupal::service('custom.easy2pilot')->sync();}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/Cron.php:250 {
      Drupal\Core\Cron->Drupal\Core\{closure} …
      › try {  $hook();}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/Extension/ModuleHandler.php:388 {
      Drupal\Core\Extension\ModuleHandler->invokeAllWith(string $hook, callable $callback): void …
      ›   $hookInvoker = \Closure::fromCallable($module . '_' . $hook);  $callback($hookInvoker, $module);}
      arguments: {
        custom_cron() {#2224 …}
        "custom"
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/Cron.php:233 {
      Drupal\Core\Cron->invokeCronHandlers() …
      › // Iterate through the modules calling their cron handlers (if any):$this->moduleHandler->invokeAllWith('cron', function (callable $hook, string $module) use (&$module_previous, $logger) {  if (!$module_previous) {
      arguments: {
        $hook: "cron"
        $callback: Closure(callable $hook, string $module) {#2222 …}
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/Cron.php:136 {
      Drupal\Core\Cron->run() …
      › else {  $this->invokeCronHandlers();}
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/ProxyClass/Cron.php:75 {
      Drupal\Core\ProxyClass\Cron->run() …
      › {    return $this->lazyLoadItself()->run();}
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php:65 {
      Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate(TerminateEvent $event) …
      › if ((int) $event->getRequest()->server->get('REQUEST_TIME') > $cron_next) {  $this->cron->run();}
    }
    Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate() {}
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111 {
      Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › 
      › call_user_func($definition['callable'], $event, $event_name, $this);if ($stoppable && $event->isPropagationStopped()) {
      arguments: {
        $callback: array:2 [ …2]
        ...$args: {
          Symfony\Component\HttpKernel\Event\TerminateEvent {#1787 …}
          "kernel.terminate"
          Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#54 …}
        }
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/vendor/symfony/http-kernel/HttpKernel.php:97 {
      Symfony\Component\HttpKernel\HttpKernel->terminate(Request $request, Response $response) …
      › {    $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);}
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\TerminateEvent {#1787 …}
        $eventName: "kernel.terminate"
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php:63 {
      Drupal\Core\StackMiddleware\StackedHttpKernel->terminate(Request $request, Response $response) …
      › if (!$previous instanceof TerminableInterface && $kernel instanceof TerminableInterface) {  $kernel->terminate($request, $response);}
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#5 …}
        $response: Drupal\Core\Render\HtmlResponse {#1261 …}
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/core/lib/Drupal/Core/DrupalKernel.php:676 {
      Drupal\Core\DrupalKernel->terminate(Request $request, Response $response) …
      › if ($this->getHttpKernel() instanceof TerminableInterface) {  $this->getHttpKernel()->terminate($request, $response);}
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#5 …}
        $response: Drupal\Core\Render\HtmlResponse {#1261 …}
      }
    }
    /is/htdocs/wp12395778_CE5D9GS3BG/evaimmo.lu/www/index.php:22 {
      › 
      › $kernel->terminate($request, $response);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#5 …}
        $response: Drupal\Core\Render\HtmlResponse {#1261 …}
      }
    }
  }
}
The website encountered an unexpected error. Please try again later.