How To Solve error 522 Origin Connection Time-out response in Laravel
Hello good day, I am guessing you have tried creating a new laravel app using either the
laravel new appname command
or
composer create-project --prefer-dist laravel/laravel appname command.
If you are getting the Server error:
GET http://cabinet.laravel.com/latest.zip
resulted in a522 Origin Connection Time-out
response.
522 Origin Connection Time-out
522 Origin Conne (truncated...)
You are on the right page.
All you need to do is update the laravel installer to the latest version.
Run the following code sequentially in your terminal
composer global remove laravel/installer
composer global require laravel/installer
After update you check your version using: laravel --version and you should get output of this version Laravel Installer 4.1.1