cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with composer

Issues with composer

Hi,

Today we have problems with the composer (on many projects):

 

Package operations: 534 installs, 0 updates, 0 removals
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing magento/module-user (101.1.4): Downloading (failed)       
Downloading (connecting...)
Downloading (failed)       
                                                                                                                                           
  [Composer\Downloader\TransportException]                                                                                                 
  The "https://repo.magento.com/archives/magento/module-user/magento-module-user-101.1.4.0.zip" file could not be downloaded (HTTP/1.1 50  
  2 Bad Gateway)                                                                                                                           
                                                                                                                                           

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

******@v:/var/www/html/******$ composer install
Gathering patches for root package.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Package operations: 534 installs, 0 updates, 0 removals
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing magento/module-user (101.1.4): Downloading (100%)         
  - Installing magento/module-store (101.0.4): Downloading (connecting...)
Downloading (connecting...)
Downloading (connecting...)
                                                                        
  [Composer\Downloader\TransportException]                              
  Content-Length mismatch, received 0 bytes out of the expected 292351  
                                                                        

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

 

Can You check what is wrong? 

1 REPLY 1

Re: Issues with composer

It seems their repo servers are out of order

I think it's not the first time

We're stucked since this morning because of this, is it too much to ask to have reliable service about this ?