user image

Jo Micheal
Published in : 2021-04-10

Server error: `GET http://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 http://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

46

Best answers

46

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 can I use arabic words, paragraphs in the faker?
Publish date: 2022-03-06 | Comments: 1
How to pass valiables to 404 error page in laravel?
Publish date: 2022-02-21 | Comments: 2
Laravel Network is unreachable stream_socket_client 587
Publish date: 2022-02-16 | Comments: 4
How I can exclude private property from var_dump or object?
Publish date: 2022-02-22 | Comments: 2
[solved] SQLSTATE[42000]: Syntax error or access violation
Publish date: 2022-01-20 | Comments: 2