ConnectException {#659
-request: Request {#656
-method: "POST"
-requestTarget: null
-uri: Uri {#648
-scheme: "https"
-userInfo: ""
-host: "liveapi.attend.com.np"
-port: null
-path: "/verify"
-query: ""
-fragment: ""
}
-headers: array:4 [
"Content-Length" => array:1 [
0 => "38"
]
"User-Agent" => array:1 [
0 => "GuzzleHttp/6.3.3 curl/7.47.0 PHP/7.1.33-34+ubuntu16.04.1+deb.sury.org+1"
]
"Content-Type" => array:1 [
0 => "application/x-www-form-urlencoded"
]
"Host" => array:1 [
0 => "liveapi.attend.com.np"
]
]
-headerNames: array:4 [
"content-length" => "Content-Length"
"user-agent" => "User-Agent"
"content-type" => "Content-Type"
"host" => "Host"
]
-protocol: "1.1"
-stream: Stream {#650
-stream: stream resource @6
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 38
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-response: null
-handlerContext: array:28 [
"errno" => 6
"error" => "Could not resolve host: liveapi.attend.com.np"
"url" => "https://liveapi.attend.com.np/verify"
"content_type" => null
"http_code" => 0
"header_size" => 0
"request_size" => 0
"filetime" => -1
"ssl_verify_result" => 0
"redirect_count" => 0
"total_time" => 0.012215
"namelookup_time" => 0.0
"connect_time" => 0.0
"pretransfer_time" => 0.0
"size_upload" => 0.0
"size_download" => 0.0
"speed_download" => 0.0
"speed_upload" => 0.0
"download_content_length" => -1.0
"upload_content_length" => -1.0
"starttransfer_time" => 0.0
"redirect_time" => 0.0
"redirect_url" => ""
"primary_ip" => ""
"certinfo" => []
"primary_port" => 0
"local_ip" => ""
"local_port" => 0
]
#message: "cURL error 6: Could not resolve host: liveapi.attend.com.np (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"
#code: 0
#file: "/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php"
#line: 185
trace: {
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:185 {
› $error = isset($connectionErrors[$easy->errno])
› ? new ConnectException($message, $easy->request, null, $ctx)
› : new RequestException($message, $easy->request, $easy->response, null, $ctx);
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:149 {
›
› return self::createRejection($easy, $ctx);
› }
arguments: {
$easy: EasyHandle {#657 …}
$ctx: array:28 [ …28]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:102 {
› if (!$easy->response || $easy->errno) {
› return self::finishError($handler, $easy, $factory);
› }
arguments: {
$handler: CurlHandler {#639 …}
$easy: EasyHandle {#657 …}
$factory: CurlFactory {#640 …}
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43 {
›
› return CurlFactory::finish($this, $easy, $this->factory);
› }
arguments: {
$handler: CurlHandler {#639 …}
$easy: EasyHandle {#657 …}
$factory: CurlFactory {#640 …}
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28 {
› ? $default($request, $options)
› : $sync($request, $options);
› };
arguments: {
$request: Request {#656}
$options: array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51 {
› return empty($options['stream'])
› ? $default($request, $options)
› : $streaming($request, $options);
arguments: {
Request {#656}
array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:66 {
›
› return $fn(Psr7\modify_request($request, $modify), $options);
› }
arguments: {
Request {#656}
array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Middleware.php:30 {
› if (empty($options['cookies'])) {
› return $handler($request, $options);
› } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
arguments: {
$request: Request {#652 …}
$options: array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:70 {
›
› return $fn($request, $options)
› ->then(function (ResponseInterface $response) use ($request, $options) {
arguments: {
Request {#652 …}
array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Middleware.php:60 {
› }
› return $handler($request, $options)->then(
› function (ResponseInterface $response) use ($request, $handler) {
arguments: {
$request: Request {#652 …}
$options: array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67 {
›
› return $handler($request, $options);
› }
arguments: {
Request {#652 …}
array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Client.php:277 {
› try {
› return Promise\promise_for($handler($request, $options));
› } catch (\Exception $e) {
arguments: {
$request: Request {#652 …}
$options: array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Client.php:125 {
›
› return $this->transfer($request, $options);
› }
arguments: {
$request: Request {#652 …}
$options: array:7 [ …7]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Client.php:131 {
› $options[RequestOptions::SYNCHRONOUS] = true;
› return $this->requestAsync($method, $uri, $options)->wait();
› }
arguments: {
$method: "post"
$uri: Uri {#648}
$options: array:9 [ …9]
}
}
/var/www/html/attend_web/vendor/guzzlehttp/guzzle/src/Client.php:89 {
› ? $this->requestAsync(substr($method, 0, -5), $uri, $opts)
› : $this->request($method, $uri, $opts);
› }
arguments: {
$method: "post"
$uri: "https://liveapi.attend.com.np/verify"
$options: array:2 [ …2]
}
}
/var/www/html/attend_web/app/Http/Middleware/VerifyLicense.php:38 {
› // dd(env('BASE_URL') . '/verify', $params);
› $result = $client->post(env('BASE_URL') . '/verify', $params);
›
arguments: {
$method: "post"
$args: array:2 [ …2]
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/fideloper/proxy/src/TrustProxies.php:57 {
›
› return $next($request);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
›
› return $next($request);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
›
› return $next($request);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
›
› return $next($request);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
›
› return $next($request);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#42 …}
$next: Closure {#616 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
›
› return $pipeline($this->passable);
› }
arguments: {
Request {#42 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure {#22 …}
}
}
/var/www/html/attend_web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Request {#42 …}
}
}
/var/www/html/attend_web/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Request {#42 …}
}
}
}
}