user image

Jo Micheal
Published in : 2021-04-10

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?

web-brackets.com

Comments

Mohamed Atef Date : 2021-04-10

Best answers

51

Best answers

51

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!

Jo Micheal Date : 2021-04-10

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

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

How to get original attribute value in Laravel?
Publish date: 2022-02-23 | Comments: 3
How to check Laravel version?
Publish date: 2022-04-07 | Comments: 2
Laravel install passport have access denied error
Publish date: 2022-02-23 | Comments: 4
How can I use arabic words, paragraphs in the faker?
Publish date: 2022-03-06 | Comments: 1