Qur-ana / qurana-backend

Qur'ana adalah sebuah aplikasi Al-Quran yang dibangun menggunakan framework Laravel. Aplikasi ini memungkinkan pengguna untuk mengakses dan mengelola data Al-Quran, Asmaul Husna, kisah nabi, shalawat nabi, hadis, dan jadwal shalat.
https://api-qurana.digitalkode.com/
18 stars 3 forks source link

Setup command didn't work properly #15

Open ahmadxgani opened 1 year ago

ahmadxgani commented 1 year ago

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 commented 1 year ago

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