Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup command didn't work properly #15

Open
ahmadxgani opened this issue Jul 16, 2023 · 1 comment
Open

Setup command didn't work properly #15

ahmadxgani opened this issue Jul 16, 2023 · 1 comment

Comments

@ahmadxgani
Copy link

Facing this issue when trying to run command php artisan app:setup

Fetching data Quran...

   GuzzleHttp\Exception\RequestException 

  cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://open-api.my.id/api/quran/surah

  at vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:211
    207▕
    208▕         // Create a connection exception if it was a specific error code.
    209▕         $error = isset($connectionErrors[$easy->errno])
    210▕             ? new ConnectException($message, $easy->request, null, $ctx)
  ➜ 211▕             : new RequestException($message, $easy->request, $easy->response, null, $ctx);
    212▕
    213▕         return P\Create::rejectionFor($error);
    214▕     }
    215▕

  1   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:158
      GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle))

  2   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:110
      GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
@Fliw
Copy link
Member

Fliw commented Jul 20, 2023

it's happen locally on your curl, read this question on stackoverflow to solve it
https://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate
let me know if there any more issues regarding setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants