Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

Cannot install Backpack PRO - curl error 7 #805

Closed tabacitu closed 8 months ago

tabacitu commented 8 months ago

Just gotten an email from a user, saying:

now I’m installing a project on ovh cloud hosting but I get an error in php /home/xxxxx/composer.phar install   but when I reached backpack/pro composer give me an error   0/12 [>---------------------------]   0%  - Downloading backpack/pro (2.0.20)   - Downloading backpack/pro (2.0.20)   8/12 [==================>---------]  66%  - Downloading backpack/pro (2.0.20) 11/12 [=========================>--]  91%    Failed to download backpack/pro from dist: curl error 7 while downloading https://repo.backpackforlaravel.com/dist/backpack/pro/backpack-pro-xxx-zip-2ff8a4.zip: Failed to connect to repo.backpackforlaravel.com port 443: Connection refused     Now trying to download from source   - Syncing backpack/pro (2.0.20) into cache Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos

tabacitu commented 8 months ago

I see your problem begins with "curl error 7". That's the source of the problem, your server cannot connect to our repo server. That matches the following error "Failed to connect to repo.backpackforlaravel.com port 443: Connection refused".

Are you able to install Backpack just fine on your localhost? If so, the problem might be your server setup in your cloud hosting. It's possible that the 443 port is blocked. Or outbound requests are blocked altogether.