ClientException {#339
  -request: Request {#319
    -method: "GET"
    -requestTarget: null
    -uri: Uri {#328
      -scheme: "https"
      -userInfo: ""
      -host: "service.bljesak.info"
      -port: null
      -path: "/api/v1/article/getArticleIndex/igs/304/"
      -query: ""
      -fragment: ""
    }
    -headers: array:2 [
      "User-Agent" => array:1 [
        0 => "GuzzleHttp/6.2.1 curl/7.38.0 PHP/7.1.8-2+0~20170804100723.7+jessie~1.gbpae7f04"
      ]
      "Host" => array:1 [
        0 => "service.bljesak.info"
      ]
    ]
    -headerNames: array:2 [
      "user-agent" => "User-Agent"
      "host" => "Host"
    ]
    -protocol: "1.1"
    -stream: Stream {#323
      -stream: stream resource @5
        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: Response {#335
    -reasonPhrase: "Not Found"
    -statusCode: 404
    -headers: array:6 [
      "Server" => array:1 [
        0 => "nginx/1.12.1"
      ]
      "Content-Type" => array:1 [
        0 => "text/html; charset=UTF-8"
      ]
      "Transfer-Encoding" => array:1 [
        0 => "chunked"
      ]
      "Connection" => array:1 [
        0 => "close"
      ]
      "Cache-Control" => array:1 [
        0 => "no-cache, private"
      ]
      "Date" => array:1 [
        0 => "Wed, 18 Oct 2017 11:30:18 GMT"
      ]
    ]
    -headerNames: array:6 [
      "server" => "Server"
      "content-type" => "Content-Type"
      "transfer-encoding" => "Transfer-Encoding"
      "connection" => "Connection"
      "cache-control" => "Cache-Control"
      "date" => "Date"
    ]
    -protocol: "1.1"
    -stream: Stream {#333
      -stream: stream resource @7
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 1105
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  #message: """
    Client error: `GET https://service.bljesak.info/api/v1/article/getArticleIndex/igs/304/` resulted in a `404 Not Found` response:\n
    <!DOCTYPE html>\n
    <html>\n
        <head>\n
            <title>Be right back.</title>\n
    \n
            <link href="https://fonts.googleapis.co (truncated...)\n
    """
  #code: 404
  #file: "/var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 113
  trace: {
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113: {
      : 
      :     return new $className($message, $request, $response, $previous, $ctx);
      : }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/guzzle/src/Middleware.php:65: {
      :     }
      :     throw RequestException::create($request, $response);
      : }
      arguments: {
        $request: Request {#319}
        $response: Response {#335}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:203: {
      : if (isset($handler[$index])) {
      :     $promise->resolve($handler[$index]($value));
      : } elseif ($index === 1) {
      arguments: {
        Response {#335}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:156: {
      : foreach ($handlers as $handler) {
      :     self::callHandler($id, $value, $handler);
      : }
      arguments: {
        $index: 1
        $value: Response {#335}
        $handler: array:3 [ …3]
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/TaskQueue.php:47: {
      : while ($task = array_shift($this->queue)) {
      :     $task();
      : }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:246: {
      :     $this->waitFn = null;
      :     $wfn(true);
      : } catch (\Exception $reason) {
      arguments: {
        true
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:223: {
      : } elseif ($this->waitFn) {
      :     $this->invokeWaitFn();
      : } elseif ($this->waitList) {
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:267: {
      : while (true) {
      :     $result->waitIfPending();
      : 
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:225: {
      : } elseif ($this->waitList) {
      :     $this->invokeWaitList();
      : } else {
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/promises/src/Promise.php:62: {
      : {
      :     $this->waitIfPending();
      : 
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/guzzlehttp/guzzle/src/Client.php:131: {
      :     $options[RequestOptions::SYNCHRONOUS] = true;
      :     return $this->requestAsync($method, $uri, $options)->wait();
      : }
    }
    /var/www/vhosts/bljesak.info/htdocs/app/Traits/ResponseDataTrait.php:9: {
      : {
      :     return json_decode($client->request('GET', env('API_PATH') . $uri)->getBody());
      : }
      arguments: {
        $method: "GET"
        $uri: "https://service.bljesak.info/api/v1/article/getArticleIndex/igs/304/"
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/app/Http/Controllers/ArticleController.php:48: {
      : if ($isPreview == false) {
      :     $article = $this->getResponseData($this->client, '/article/getArticleIndex/' . $section . '/' . $id . '/' . $isPreview);
      : } else {
      arguments: {
        $client: Client {#273 …}
        $uri: "/article/getArticleIndex/igs/304/"
      }
    }
    App\Http\Controllers\ArticleController->showArticlesFromSection(): {}
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55: {
      : {
      :     return call_user_func_array([$this, $method], $parameters);
      : }
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: array:4 [ …4]
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:44: {
      : if (method_exists($controller, 'callAction')) {
      :     return $controller->callAction($method, $parameters);
      : }
      arguments: {
        $method: "showArticlesFromSection"
        $parameters: array:4 [ …4]
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:203: {
      : return (new ControllerDispatcher($this->container))->dispatch(
      :     $this, $this->getController(), $this->getControllerMethod()
      : );
      arguments: {
        $route: Route {#181 …}
        $controller: ArticleController {#272 …}
        $method: "showArticlesFromSection"
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:160: {
      : if ($this->isControllerAction()) {
      :     return $this->runController();
      : }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:572: {
      : return $this->prepareResponse(
      :     $request, $route->run()
      : );
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30: {
      : try {
      :     return $destination($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:65: {
      : ) {
      :     return $this->addCookieToResponse($request, $next($request));
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64: {
      : 
      : $response = $next($request);
      : 
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37: {
      : {
      :     $response = $next($request);
      : 
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59: {
      : {
      :     return $this->encrypt($next($this->decrypt($request)));
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102: {
      : 
      :     return $pipeline($this->passable);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:574: {
      :                         );
      :                     });
      : }
      arguments: {
        $destination: Closure {#267 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:533: {
      : 
      : $response = $this->runRouteWithinStack($route, $request);
      : 
      arguments: {
        $route: Route {#181 …}
        $request: Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:511: {
      : 
      :     return $this->dispatchToRoute($request);
      : }
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176: {
      : 
      :     return $this->router->dispatch($request);
      : };
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30: {
      : try {
      :     return $destination($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46: {
      : 
      :     return $next($request);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148: {
      : 
      :     return $pipe->{$this->method}(...$parameters);
      : };
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#199 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53: {
      : 
      :     return $callable($passable);
      : } catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102: {
      : 
      :     return $pipeline($this->passable);
      : }
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151: {
      :                 ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
      :                 ->then($this->dispatchToRouter());
      : }
      arguments: {
        $destination: Closure {#37 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116: {
      : 
      :     $response = $this->sendRequestThroughRouter($request);
      : } catch (Exception $e) {
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/vhosts/bljesak.info/htdocs/public/index.php:53: {
      : $response = $kernel->handle(
      :     $request = Illuminate\Http\Request::capture()
      : );
      arguments: {
        $request: Request {#38 …}
      }
    }
  }
}