500 internal server error


  • | 2340 points

    im not sure that im dealing with laragon issue but im getting a 500 internal server error. I read that perhaps the memory needed to be adjusted so i tried doing that with no luck. It could still be an issue with my laravel backend using passport but all routes work except for login route that deals with access token.

    below is the log that im getting. any help would be greatly appreciated

    GuzzleHttp\Exception\RequestException: cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in file C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 186
    Stack trace:

      1. GuzzleHttp\Exception\RequestException->() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:186
      2. GuzzleHttp\Handler\CurlFactory->createRejection() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:149
      3. GuzzleHttp\Handler\CurlFactory->finishError() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:102
      4. GuzzleHttp\Handler\CurlFactory->finish() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php:43
      5. GuzzleHttp\Handler\CurlHandler->__invoke() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php:28
      6. GuzzleHttp\Handler\Proxy->GuzzleHttp\Handler{closure}() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php:51
      7. GuzzleHttp\Handler\Proxy->GuzzleHttp\Handler{closure}() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\PrepareBodyMiddleware.php:66
      8. GuzzleHttp\PrepareBodyMiddleware->__invoke() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Middleware.php:30
      9. GuzzleHttp\Middleware->GuzzleHttp{closure}() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php:70
    1. GuzzleHttp\RedirectMiddleware->__invoke() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Middleware.php:60
    2. GuzzleHttp\Middleware->GuzzleHttp{closure}() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\HandlerStack.php:67
    3. GuzzleHttp\HandlerStack->__invoke() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Client.php:277
    4. GuzzleHttp\Client->transfer() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Client.php:125
    5. GuzzleHttp\Client->requestAsync() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Client.php:131
    6. GuzzleHttp\Client->request() C:\laragon\www\traxit\vendor\guzzlehttp\guzzle\src\Client.php:89
    7. GuzzleHttp\Client->__call() C:\laragon\www\traxit\app\Http\Controllers\AuthController.php:22
    8. App\Http\Controllers\AuthController->login() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Controller.php:54
    9. call_user_func_array() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Controller.php:54
    10. Illuminate\Routing\Controller->callAction() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php:45
    11. Illuminate\Routing\ControllerDispatcher->dispatch() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Route.php:212
    12. Illuminate\Routing\Route->runController() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Route.php:169
    13. Illuminate\Routing\Route->run() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Router.php:679
    14. Illuminate\Routing\Router->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30
    15. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php:41
    16. Illuminate\Routing\Middleware\SubstituteBindings->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    17. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    18. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php:57
    19. Illuminate\Routing\Middleware\ThrottleRequests->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    20. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    21. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104
    22. Illuminate\Pipeline\Pipeline->then() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Router.php:681
    23. Illuminate\Routing\Router->runRouteWithinStack() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Router.php:656
    24. Illuminate\Routing\Router->runRoute() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Router.php:622
    25. Illuminate\Routing\Router->dispatchToRoute() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Router.php:611
    26. Illuminate\Routing\Router->dispatch() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:176
    27. Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30
    28. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\spatie\laravel-cors\src\Cors.php:28
    29. Spatie\Cors\Cors->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    30. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    31. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\fideloper\proxy\src\TrustProxies.php:57
    32. Fideloper\Proxy\TrustProxies->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    33. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    34. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:31
    35. Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    36. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    37. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:31
    38. Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    39. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    40. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php:27
    41. Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    42. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    43. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php:62
    44. Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    45. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    46. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\barryvdh\laravel-cors\src\HandlePreflight.php:29
    47. Barryvdh\Cors\HandlePreflight->handle() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151
    48. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
    49. Illuminate\Routing\Pipeline->Illuminate\Routing{closure}() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104
    50. Illuminate\Pipeline\Pipeline->then() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:151
    51. Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() C:\laragon\www\traxit\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:116
    52. Illuminate\Foundation\Http\Kernel->handle() C:\laragon\www\traxit\public\index.php:55

  • administrators
    | 94256 points

    @thomas : From the error log: cURL error 3: <url> malformed

    CURLE_URL_MALFORMAT (3)
    
    The URL was not properly formatted.
    

    Therefore you should check the url.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.