Symfony Exception

RequestException

HTTP 500 Internal Server Error

cURL error 60: Peer's Certificate has expired. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.sims.vn/v1/client-token

Exception

GuzzleHttp\Exception\ RequestException

  1.         }
  2.         // Create a connection exception if it was a specific error code.
  3.         $error = isset($connectionErrors[$easy->errno])
  4.             ? new ConnectException($message$easy->requestnull$ctx)
  5.             : new RequestException($message$easy->request$easy->responsenull$ctx);
  6.         return P\Create::rejectionFor($error);
  7.     }
  8.     /**
  1.         // Retry when nothing is present or when curl failed to rewind.
  2.         if (empty($easy->options['_err_message']) && (!$easy->errno || $easy->errno == 65)) {
  3.             return self::retryFailedRewind($handler$easy$ctx);
  4.         }
  5.         return self::createRejection($easy$ctx);
  6.     }
  7.     private static function createRejection(EasyHandle $easy, array $ctx): PromiseInterface
  8.     {
  9.         static $connectionErrors = [
  1.         if (isset($easy->options['on_stats'])) {
  2.             self::invokeStats($easy);
  3.         }
  4.         if (!$easy->response || $easy->errno) {
  5.             return self::finishError($handler$easy$factory);
  6.         }
  7.         // Return the response if it is present and there is no error.
  8.         $factory->release($easy);
  1.         $easy $this->factory->create($request$options);
  2.         \curl_exec($easy->handle);
  3.         $easy->errno \curl_errno($easy->handle);
  4.         return CurlFactory::finish($this$easy$this->factory);
  5.     }
  6. }
  1.      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
  2.      */
  3.     public static function wrapSync(callable $default, callable $sync): callable
  4.     {
  5.         return static function (RequestInterface $request, array $options) use ($default$sync): PromiseInterface {
  6.             return empty($options[RequestOptions::SYNCHRONOUS]) ? $default($request$options) : $sync($request$options);
  7.         };
  8.     }
  9.     /**
  10.      * Sends streaming requests to a streaming compatible handler while sending
  1.      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
  2.      */
  3.     public static function wrapStreaming(callable $default, callable $streaming): callable
  4.     {
  5.         return static function (RequestInterface $request, array $options) use ($default$streaming): PromiseInterface {
  6.             return empty($options['stream']) ? $default($request$options) : $streaming($request$options);
  7.         };
  8.     }
  9. }
  1.                      ->__invoke((new Request($request))->withData($options['laravel_data']), $options)
  2.                      ->filter()
  3.                      ->first();
  4.                 if (is_null($response)) {
  5.                     return $handler($request$options);
  6.                 }
  7.                 $response is_array($response) ? Factory::response($response) : $response;
  8.                 $sink $options['sink'] ?? null;
  1.      */
  2.     public function buildRecorderHandler()
  3.     {
  4.         return function ($handler) {
  5.             return function ($request$options) use ($handler) {
  6.                 $promise $handler($request$options);
  7.                 return $promise->then(function ($response) use ($request$options) {
  8.                     optional($this->factory)->recordRequestResponsePair(
  9.                         (new Request($request))->withData($options['laravel_data']),
  10.                         new Response($response)
  1.      */
  2.     public function buildBeforeSendingHandler()
  3.     {
  4.         return function ($handler) {
  5.             return function ($request$options) use ($handler) {
  6.                 return $handler($this->runBeforeSendingCallbacks($request$options), $options);
  7.             };
  8.         };
  9.     }
  10.     /**
  1.     {
  2.         $fn $this->nextHandler;
  3.         // Don't do anything if the request has no body.
  4.         if ($request->getBody()->getSize() === 0) {
  5.             return $fn($request$options);
  6.         }
  7.         $modify = [];
  8.         // Add a default content-type if possible.
  1.                 } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
  2.                     throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
  3.                 }
  4.                 $cookieJar $options['cookies'];
  5.                 $request $cookieJar->withCookieHeader($request);
  6.                 return $handler($request$options)
  7.                     ->then(
  8.                         static function (ResponseInterface $response) use ($cookieJar$request): ResponseInterface {
  9.                             $cookieJar->extractCookies($request$response);
  10.                             return $response;
  11.                         }
  1.         if (empty($options['allow_redirects']['max'])) {
  2.             return $fn($request$options);
  3.         }
  4.         return $fn($request$options)
  5.             ->then(function (ResponseInterface $response) use ($request$options) {
  6.                 return $this->checkRedirect($request$options$response);
  7.             });
  8.     }
  1.     public static function httpErrors(BodySummarizerInterface $bodySummarizer null): callable
  2.     {
  3.         return static function (callable $handler) use ($bodySummarizer): callable {
  4.             return static function ($request, array $options) use ($handler$bodySummarizer) {
  5.                 if (empty($options['http_errors'])) {
  6.                     return $handler($request$options);
  7.                 }
  8.                 return $handler($request$options)->then(
  9.                     static function (ResponseInterface $response) use ($request$bodySummarizer) {
  10.                         $code $response->getStatusCode();
  11.                         if ($code 400) {
  1.      */
  2.     public function __invoke(RequestInterface $request, array $options)
  3.     {
  4.         $handler $this->resolve();
  5.         return $handler($request$options);
  6.     }
  7.     /**
  8.      * Dumps a string representation of the stack.
  9.      *
  1.         $request $this->applyOptions($request$options);
  2.         /** @var HandlerStack $handler */
  3.         $handler $options['handler'];
  4.         try {
  5.             return P\Create::promiseFor($handler($request$options));
  6.         } catch (\Exception $e) {
  7.             return P\Create::rejectionFor($e);
  8.         }
  9.     }
  1.         }
  2.         $request = new Psr7\Request($method$uri$headers$body$version);
  3.         // Remove the option so that they are not doubly-applied.
  4.         unset($options['headers'], $options['body'], $options['version']);
  5.         return $this->transfer($request$options);
  6.     }
  7.     /**
  8.      * Create and send an HTTP request.
  9.      *
  1.      * @throws GuzzleException
  2.      */
  3.     public function request(string $method$uri '', array $options = []): ResponseInterface
  4.     {
  5.         $options[RequestOptions::SYNCHRONOUS] = true;
  6.         return $this->requestAsync($method$uri$options)->wait();
  7.     }
  8.     /**
  9.      * Get a client configuration option.
  10.      *
  1.         $clientMethod $this->async 'requestAsync' 'request';
  2.         $laravelData $this->parseRequestData($method$url$options);
  3.         return $this->buildClient()->$clientMethod($method$url$this->mergeOptions([
  4.             'laravel_data' => $laravelData,
  5.             'on_stats' => function ($transferStats) {
  6.                 $this->transferStats $transferStats;
  7.             },
  8.         ], $options));
  9.     }
  1.             return $this->makePromise($method$url$options);
  2.         }
  3.         return retry($this->tries ?? 1, function () use ($method$url$options) {
  4.             try {
  5.                 return tap(new Response($this->sendRequest($method$url$options)), function ($response) {
  6.                     $this->populateResponse($response);
  7.                     if ($this->tries && ! $response->successful()) {
  8.                         $response->throw();
  9.                     }
  1.         beginning:
  2.         $attempts++;
  3.         $times--;
  4.         try {
  5.             return $callback($attempts);
  6.         } catch (Exception $e) {
  7.             if ($times || ($when && ! $when($e))) {
  8.                 throw $e;
  9.             }
  1.             } catch (ConnectException $e) {
  2.                 $this->dispatchConnectionFailedEvent();
  3.                 throw new ConnectionException($e->getMessage(), 0$e);
  4.             }
  5.         }, $this->retryDelay ?? 100$this->retryWhenCallback);
  6.     }
  7.     /**
  8.      * Parse multi-part form data.
  9.      *
  1.      * @return \Illuminate\Http\Client\Response
  2.      */
  3.     public function get(string $url$query null)
  4.     {
  5.         return $this->send('GET'$url, [
  6.             'query' => $query,
  7.         ]);
  8.     }
  9.     /**
  10.      * Issue a HEAD request to the given URL.
  1.             return $this->macroCall($method$parameters);
  2.         }
  3.         return tap($this->newPendingRequest(), function ($request) {
  4.             $request->stub($this->stubCallbacks);
  5.         })->{$method}(...$parameters);
  6.     }
  7. }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.         if ($clientToken && !$isResetToken) {
  2.             return $clientToken;
  3.         }
  4.         try {
  5.             $response Http::get(config('api.host')  . '/client-token');
  6.             $response->throw();
  7.             if ($response->status() === 200) {
  8.                 $responseArr $response->json();
  9.                 Cache::put(
  1.             return $responseCache;
  2.         }
  3.         $response = [];
  4.         try {
  5.             $clientToken $this->authService->getClientToken($isResetToken);
  6.             $response Http::withToken($clientToken)->get(config('api.host') . '/base/network', [
  7.                 'page' => data_get($params'page'1),
  8.                 'per_page' => data_get($params'per_page'1000),
  9.             ]);
  10.             $response->throw();
  1.     protected static function getNetworks()
  2.     {
  3.         /** @var INetworkOperatorService $networkService */
  4.         $networkService app(INetworkOperatorService::class);
  5.         return $networkService->getList([]);
  6.     }
  7.     /**
  8.      * Take the first few numbers
  9.      *
  1.             $firstThreeNumbers $firstNumber;
  2.         } else {
  3.             $firstTwoNumbers = !empty($simFull) ? self::simFirstFewNumbers($simFull2) : '';
  4.             $firstThreeNumbers = !empty($simFull) ? self::simFirstFewNumbers($simFull3) : '';
  5.         }
  6.         $networks self::getNetworks();
  7.         foreach ($networks as $network) {
  8.             $prefix = isset($network['prefix']) ? explode(','$network['prefix']) : [];
  9.             if (in_array($firstThreeNumbers$prefix) || in_array($firstTwoNumbers$prefix)) {
  10.                 return [
  11.                     'code' => $network['code'],
  1.                 // Case: co 'dau so' khong co 'duoi so'
  2.                 if (!isset($simSearch['last_number']) || $simSearch['last_number'] == '') {
  3.                     $slug ConfigSeoByUrl::SEO_SIM_CATE_DAU_SO_KHONG_CO_DUOI;
  4.                 }
  5.                 // Case: co 'dau so' la nha mang
  6.                 elseif (!empty(self::isSimNhaMang($simSearch['first_number']))) {
  7.                     $slug ConfigSeoByUrl::SEO_SIM_CATE_DAU_SO_CHUA_NHA_MANG;
  8.                 }
  9.             }
  10.         }
  11.         return $slug;
  1.         $this->simService $simService;
  2.         $this->keySearchService $keySearchService;
  3.         $this->configService $configService;
  4.         $this->_simSearch SimHelper::getSimSearchByKeyword($request->route('keyword'));
  5.         $configSeoSlug SimHelper::getSlugConfigSeoBySimSearch($this->_simSearch);
  6.         $this->getConfigSeo($configSeoSlug1);
  7.         // replace text-to-link
  8.         $this->configSeo ViewHelper::replaceText2Link($this->configSeo);
SearchController->__construct()
  1.             throw $e;
  2.         }
  3.         array_pop($this->buildStack);
  4.         return $reflector->newInstanceArgs($instances);
  5.     }
  6.     /**
  7.      * Resolve all of the dependencies from the ReflectionParameters.
  8.      *
  1.         // We're ready to instantiate an instance of the concrete type registered for
  2.         // the binding. This will instantiate the types, as well as resolve any of
  3.         // its "nested" dependencies recursively until all have gotten resolved.
  4.         if ($this->isBuildable($concrete$abstract)) {
  5.             $object $this->build($concrete);
  6.         } else {
  7.             $object $this->make($concrete);
  8.         }
  9.         // If we defined any extenders for this type, we'll need to spin through them
  1.      */
  2.     protected function resolve($abstract$parameters = [], $raiseEvents true)
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::resolve($abstract$parameters$raiseEvents);
  6.     }
  7.     /**
  8.      * Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
  9.      *
  1.      *
  2.      * @throws \Illuminate\Contracts\Container\BindingResolutionException
  3.      */
  4.     public function make($abstract, array $parameters = [])
  5.     {
  6.         return $this->resolve($abstract$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.      */
  2.     public function make($abstract, array $parameters = [])
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::make($abstract$parameters);
  6.     }
  7.     /**
  8.      * Resolve the given type from the container.
  9.      *
  1.     public function getController()
  2.     {
  3.         if (! $this->controller) {
  4.             $class $this->parseControllerCallback()[0];
  5.             $this->controller $this->container->make(ltrim($class'\\'));
  6.         }
  7.         return $this->controller;
  8.     }
  1.         if (! $this->isControllerAction()) {
  2.             return [];
  3.         }
  4.         return $this->controllerDispatcher()->getMiddleware(
  5.             $this->getController(), $this->getControllerMethod()
  6.         );
  7.     }
  8.     /**
  9.      * Specify middleware that should be removed from the given route.
  1.         }
  2.         $this->computedMiddleware = [];
  3.         return $this->computedMiddleware Router::uniqueMiddleware(array_merge(
  4.             $this->middleware(), $this->controllerMiddleware()
  5.         ));
  6.     }
  7.     /**
  8.      * Get or set the middlewares attached to the route.
  1.      * @param  \Illuminate\Routing\Route  $route
  2.      * @return array
  3.      */
  4.     public function gatherRouteMiddleware(Route $route)
  5.     {
  6.         $computedMiddleware $route->gatherMiddleware();
  7.         $excluded collect($route->excludedMiddleware())->map(function ($name) {
  8.             return (array) MiddlewareNameResolver::resolve($name$this->middleware$this->middlewareGroups);
  9.         })->flatten()->values()->all();
  1.     protected function runRouteWithinStack(Route $routeRequest $request)
  2.     {
  3.         $shouldSkipMiddleware $this->container->bound('middleware.disable') &&
  4.                                 $this->container->make('middleware.disable') === true;
  5.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  6.         return (new Pipeline($this->container))
  7.                         ->send($request)
  8.                         ->through($middleware)
  9.                         ->then(function ($request) use ($route) {
  1.         });
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
Pipeline->Illuminate\Pipeline\{closure}() in /var/www/simdangcap.vn/20230614154529/app/Http/Middleware/ConfigRedirectAll.php (line 58)
  1.                 
  2.             }
  3.         } catch (\Exception $e) {
  4.             Log::error('[' $e->getCode() . '] ' $e->getMessage());
  5.         }
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}() in /var/www/simdangcap.vn/20230614154529/app/Http/Middleware/AntiDDOS.php (line 426)
  1.         } catch (\Exception $e) {
  2.             Log::error('[' $e->getCode() . '] ' $e->getMessage());
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Handle tasks after the response has been sent to the browser.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($request);
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     public function handle(Request $requestClosure $next)
  2.     {
  3.         $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
  4.         $this->setTrustedProxyIpAddresses($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Sets the trusted proxies on the request to the value of trustedproxy.proxies
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Stack Trace

RequestException
GuzzleHttp\Exception\RequestException:
cURL error 60: Peer's Certificate has expired. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.sims.vn/v1/client-token

  at /var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:211
  at GuzzleHttp\Handler\CurlFactory::createRejection()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158)
  at GuzzleHttp\Handler\CurlFactory::finishError()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110)
  at GuzzleHttp\Handler\CurlFactory::finish()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47)
  at GuzzleHttp\Handler\CurlHandler->__invoke()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28)
  at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48)
  at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:925)
  at Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:895)
  at Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:881)
  at Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35)
  at GuzzleHttp\PrepareBodyMiddleware->__invoke()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Middleware.php:37)
  at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:71)
  at GuzzleHttp\RedirectMiddleware->__invoke()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Middleware.php:61)
  at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75)
  at GuzzleHttp\HandlerStack->__invoke()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Client.php:331)
  at GuzzleHttp\Client->transfer()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Client.php:168)
  at GuzzleHttp\Client->requestAsync()
     (/var/www/simdangcap.vn/20230614154529/vendor/guzzlehttp/guzzle/src/Client.php:187)
  at GuzzleHttp\Client->request()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:748)
  at Illuminate\Http\Client\PendingRequest->sendRequest()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:679)
  at Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Support/helpers.php:234)
  at retry()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:693)
  at Illuminate\Http\Client\PendingRequest->send()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:548)
  at Illuminate\Http\Client\PendingRequest->get()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Http/Client/Factory.php:390)
  at Illuminate\Http\Client\Factory->__call()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/var/www/simdangcap.vn/20230614154529/vendor/khosim/vetinh-service/src/app/Services/API/Auth/AuthService.php:27)
  at KSVTServiceManager\Services\API\Auth\AuthService->getClientToken()
     (/var/www/simdangcap.vn/20230614154529/vendor/khosim/vetinh-service/src/app/Services/API/Network/NetworkOperatorService.php:36)
  at KSVTServiceManager\Services\API\Network\NetworkOperatorService->getList()
     (/var/www/simdangcap.vn/20230614154529/vendor/khosim/vetinh-service/src/app/Helpers/SimHelper.php:136)
  at KSVTServiceManager\Helpers\SimHelper::getNetworks()
     (/var/www/simdangcap.vn/20230614154529/vendor/khosim/vetinh-service/src/app/Helpers/SimHelper.php:112)
  at KSVTServiceManager\Helpers\SimHelper::isSimNhaMang()
     (/var/www/simdangcap.vn/20230614154529/vendor/khosim/vetinh-service/src/app/Helpers/SimHelper.php:95)
  at KSVTServiceManager\Helpers\SimHelper::getSlugConfigSeoBySimSearch()
     (/var/www/simdangcap.vn/20230614154529/app/Http/Controllers/Sim/SearchController.php:41)
  at App\Http\Controllers\Sim\SearchController->__construct()
  at ReflectionClass->newInstanceArgs()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Container/Container.php:921)
  at Illuminate\Container\Container->build()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Container/Container.php:758)
  at Illuminate\Container\Container->resolve()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:851)
  at Illuminate\Foundation\Application->resolve()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Container/Container.php:694)
  at Illuminate\Container\Container->make()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:836)
  at Illuminate\Foundation\Application->make()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Route.php:276)
  at Illuminate\Routing\Route->getController()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Route.php:1069)
  at Illuminate\Routing\Route->controllerMiddleware()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Route.php:1012)
  at Illuminate\Routing\Route->gatherMiddleware()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Router.php:708)
  at Illuminate\Routing\Router->gatherRouteMiddleware()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Router.php:688)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Router.php:672)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/app/Http/Middleware/ConfigRedirectAll.php:58)
  at App\Http\Middleware\ConfigRedirectAll->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/app/Http/Middleware/AntiDDOS.php:426)
  at App\Http\Middleware\AntiDDOS->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/fideloper/proxy/src/TrustProxies.php:57)
  at Fideloper\Proxy\TrustProxies->handle()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/simdangcap.vn/20230614154529/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/simdangcap.vn/20230614154529/public/index.php:52)