https://www.losvascos.com/

Exceptions

Idle timeout reached for "https://system.tourpay.cl/api/v1/products?access_token=de11c48904d8ff96e0b90200066252cb&orderby=price".

  • Exceptions 2
  • Logs
  • Stack Traces 2

Symfony\Component\HttpClient\Exception\ TransportException

  1.     abstract protected function close(): void;
  2.     private static function initialize(self $response): void
  3.     {
  4.         if (null !== $response->getInfo('error')) {
  5.             throw new TransportException($response->getInfo('error'));
  6.         }
  7.         try {
  8.             if (($response->initializer)($response, -0.0)) {
  9.                 foreach (self::stream([$response], -0.0) as $chunk) {
  1.      * {@inheritdoc}
  2.      */
  3.     public function getStatusCode(): int
  4.     {
  5.         if ($this->initializer) {
  6.             self::initialize($this);
  7.         }
  8.         return $this->info['http_code'];
  9.     }
  1.         } finally {
  2.             if ($this->event && $this->event->isStarted()) {
  3.                 $this->event->stop();
  4.             }
  5.             if ($throw) {
  6.                 $this->checkStatusCode($this->response->getStatusCode());
  7.             }
  8.         }
  9.     }
  10.     public function cancel(): void
TraceableResponse->toArray() in src/Controller/DefaultController.php (line 34)
  1.                 'GET',
  2.                 $apiBaseUrl.'products?access_token='.$apiToken.'&orderby=price'
  3.             );
  4.             $slug = array();
  5.             $i 0;
  6.             $content $response->toArray();
  7.             /*
  8.             foreach($content as $key => $value) {
  9.                 if($value){
  10.                   
  11.                     switch($value["id"]){
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/losvascos.com/public_html/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Symfony\Component\HttpClient\Exception\ TimeoutException

Idle timeout reached for "https://system.tourpay.cl/api/v1/products?access_token=de11c48904d8ff96e0b90200066252cb&orderby=price".

  1.      * {@inheritdoc}
  2.      */
  3.     public function isFirst(): bool
  4.     {
  5.         $this->didThrow true;
  6.         throw null !== $this->error ? new TransportException($this->errorMessage0$this->error) : new TimeoutException($this->errorMessage);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         }
  2.         try {
  3.             if (($response->initializer)($response, -0.0)) {
  4.                 foreach (self::stream([$response], -0.0) as $chunk) {
  5.                     if ($chunk->isFirst()) {
  6.                         break;
  7.                     }
  8.                 }
  9.             }
  10.         } catch (\Throwable $e) {
  1.      * {@inheritdoc}
  2.      */
  3.     public function getContent(bool $throw true): string
  4.     {
  5.         if ($this->initializer) {
  6.             self::initialize($this);
  7.         }
  8.         if ($throw) {
  9.             $this->checkStatusCode();
  10.         }
  1.     {
  2.         $performing self::$performing;
  3.         self::$performing $performing || '_0' === curl_getinfo($this->handle, \CURLINFO_PRIVATE);
  4.         try {
  5.             return $this->doGetContent($throw);
  6.         } finally {
  7.             self::$performing $performing;
  8.         }
  9.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function toArray(bool $throw true): array
  5.     {
  6.         if ('' === $content $this->getContent($throw)) {
  7.             throw new JsonException('Response body is empty.');
  8.         }
  9.         if (null !== $this->jsonData) {
  10.             return $this->jsonData;
  1.         try {
  2.             if (false === $this->content) {
  3.                 return $this->response->toArray($throw);
  4.             }
  5.             return $this->content $this->response->toArray(false);
  6.         } finally {
  7.             if ($this->event && $this->event->isStarted()) {
  8.                 $this->event->stop();
  9.             }
  10.             if ($throw) {
TraceableResponse->toArray() in src/Controller/DefaultController.php (line 34)
  1.                 'GET',
  2.                 $apiBaseUrl.'products?access_token='.$apiToken.'&orderby=price'
  3.             );
  4.             $slug = array();
  5.             $i 0;
  6.             $content $response->toArray();
  7.             /*
  8.             foreach($content as $key => $value) {
  9.                 if($value){
  10.                   
  11.                     switch($value["id"]){
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/var/www/losvascos.com/public_html/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };