نوب
4 سال پیش توسط نوب مطرح شد
4 پاسخ

مشکل عجیب با ثبت نام گوگل و گیتهاب در لاراول

سلام دوستان
من همه ی کارهای ثبت نام و ورود با گوگل و گیتهاب را توی لاراول 7 انجام دادم ولی وقتی میخواد برگرده توی لوکال هاست با خطای زیر روبرو میشم
مشکل چیه ؟
روی سرور هم بردم و ssl هم فعال کردم بازم این خطا را میده
نمیدونم مشکل چیه

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://github.com/login/oauth/access_token in E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:211 Stack trace: #0 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(110): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(47): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #3 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #4 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(48): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #5 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\PrepareBodyMiddleware.php(64): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #6 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #7 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #8 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Middleware.php(63): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #9 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\HandlerStack.php(75): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #10 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Client.php(331): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #11 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Client.php(168): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array) #12 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\Client.php(187): GuzzleHttp\Client->requestAsync('POST', Object(GuzzleHttp\Psr7\Uri), Array) #13 E:\Laravel-sites-design\www\subsecurity\vendor\guzzlehttp\guzzle\src\ClientTrait.php(95): GuzzleHttp\Client->request('POST', 'https://github....', Array) #14 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\socialite\src\Two\AbstractProvider.php(289): GuzzleHttp\Client->post('https://github....', Array) #15 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\socialite\src\Two\AbstractProvider.php(239): Laravel\Socialite\Two\AbstractProvider->getAccessTokenResponse(NULL) #16 E:\Laravel-sites-design\www\subsecurity\app\Http\Controllers\Auth\githubController.php(22): Laravel\Socialite\Two\AbstractProvider->user() #17 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): App\Http\Controllers\Auth\githubController->handlegithubCallback() #18 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('handlegithubCal...', Array) #19 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Route.php(239): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Auth\githubController), 'handlegithubCal...') #20 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Route.php(196): Illuminate\Routing\Route->runController() #21 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Router.php(685): Illuminate\Routing\Route->run() #22 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #23 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #24 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure)) #25 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #26 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #27 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #28 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #29 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #30 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(62): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure)) #31 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #32 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #33 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) #34 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #35 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) #36 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #37 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Router.php(687): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #38 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Router.php(662): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) #39 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Router.php(628): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route)) #40 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Routing\Router.php(617): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #41 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(165): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #42 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) #43 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #44 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure)) #45 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #46 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure)) #47 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #48 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure)) #49 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(63): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #50 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) #51 E:\Laravel-sites-design\www\subsecurity\vendor\fruitcake\laravel-cors\src\HandleCors.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #52 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Fruitcake\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure)) #53 E:\Laravel-sites-design\www\subsecurity\vendor\fideloper\proxy\src\TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #54 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure)) #55 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #56 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(140): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #57 E:\Laravel-sites-design\www\subsecurity\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #58 E:\Laravel-sites-design\www\subsecurity\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #59 E:\Laravel-sites-design\www\subsecurity\server.php(21): require_once('E:\\Laravel-site...') #60 {main}

ثبت پرسش جدید
سیدعلی موسوی
تخصص : سی شارپ و پی اچ پی
@juza66 4 سال پیش مطرح شد
0

داره میگه ssl روی سایت نداری! و بدون ssl درخواست شما معتبر نیست ،اگر لوکال هست راه حلش رو توی نت سرچ کن


نوب
تخصص : کدنویس نوب :)
@yk5742g 4 سال پیش مطرح شد
0

@ali.bayat
سلام استاد
میشه این مشکل منو پاسخ بدید ؟
سپاس


علی بیات
تخصص : توسعه دهنده ارشد وب
@ali.bayat 4 سال پیش مطرح شد
0

دوستان هم اشاره کردند
مشکل SSL دارید

cURL error 60: SSL certificate problem: unable to get local issuer certificate


نوب
تخصص : کدنویس نوب :)
@yk5742g 4 سال پیش مطرح شد
0

من مشکلم هنوزم حل نشده

روی لوکال هم با openssl تست کردم و هم بدون اون و توی اینترنت هم برای لوکال چندراه حل گفته بودن انجام دادم نشد

روی هاست هم همین مشکل را دارم حتی وقتی ssl روی هاست فعال میکنم

من توی آموزش خود آقای موسوی دیدم خیلی راحت روی لوکال زدن وارد شد و من دقیقا هم همونجوری نوشتم بازم نشد


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام