Skip to content

cURL error 28: Operation timed out after 30010 milliseconds with 491040 out of 1589967 bytes received #2396

@raliqala

Description

@raliqala
  • Lunar version: v1.x
  • Laravel Version: ^11.0
  • PHP Version: ^8.2
  • Database Driver & Version: postgreSQL 17

Expected Behaviour: I wanted to install lunar

Actual Behaviour: I got an error on the step to Importing Countries and States.

 INFO  Importing countries.

   INFO  Importing Countries and States.


   Illuminate\Http\Client\ConnectionException

  cURL error 28: Operation timed out after 30010 milliseconds with 491040 out of 1589967 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://data.lunarphp.io/countries+states.json

  at vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941
    937▕                         }
    938▕                     }
    939▕                 });
    940▕             } catch (ConnectException $e) {
  ➜ 941▕                 $exception = new ConnectionException($e->getMessage(), 0, $e);
    942▕                 $request = new Request($e->getRequest());
    943▕
    944▕                 $this->factory?->recordRequestResponsePair($request, null);
    945▕

  1   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:277
      GuzzleHttp\Exception\ConnectException::("cURL error 28: Operation timed out after 30010 milliseconds with 491040 out of 1589967 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://data.lunarphp.io/countries+states.json")

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

Steps To Reproduce:

  1. Start a new project with the lunar front-end starter composer create-project --stability dev lunarphp/livewire-starter-kit my-store following https://docs.lunarphp.com/1.x/getting-started/starter-kits/livewire
  2. I got to this step php artisan lunar:install and i got the above error after adding my credentials

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions