user

Jo Micheal

10 Apr 2021

Server error: `GET //cabinet.laravel.com/latest.zip` resulted in a `522 Origin Connection Time-out

Laravel

I cannot create a new Laravel project because of this error, it's attached at the first image it says 


 Server error: `GET //cabinet.laravel.com/latest.zip` resulted in a `522 Origin Connection Time-out` response: 
 
 522 Origin Connection Time-out
 
 

is there is any way I can figure out this issue?

Comments

Mohamed Atef

10 Apr 2021

Best Answer

best answer
githubgithubgithub

Hi Mr.Micheal Happy to to see you with us here in our forum 
at the beginning I like to say this issue some times happen because of an error in the packages in the composer maybe because of some updates in the PHP version or any other conflict between the PHP version and the version of the composer 
All you need to do is just running these two commands in your project directory 

 	composer global remove laravel/installer 
	composer global require laravel/installer

Good Luck!

Replies

Jo Micheal

10 Apr 2021

Amazing it's working! 
Thanks I was about to lose hope 

© 2024 Copyrights reserved for web-brackets.com