cancel
Showing results for 
Search instead for 
Did you mean: 

404 When attempting to download packages during composer install

SOLVED

404 When attempting to download packages during composer install

Hello,

Fairly recently we began experiencing an issue when running composer install for Magento 2.4.4-p2

A ton of packages that had no issues before, now encounter HTTP 404 errors.

[404] https://repo.magento.com/archives/magento/module-customer-segment/magento-module-customer-segment-102.1.4.0.zip
[404] https://repo.magento.com/archives/magento/module-gift-card-account/magento-module-gift-card-account-101.2.4.0.zip
Downloading https://repo.magento.com/archives/magento/module-negotiable-quote/magento-module-negotiable-quote-100.3.3.0-patch2.zip
Downloading https://repo.magento.com/archives/magento/module-company/magento-module-company-101.1.3.0-patch2.zip
[404] https://repo.magento.com/archives/magento/module-banner-page-builder/magento-module-banner-page-builder-2.2.2.0.zip
[404] https://repo.magento.com/archives/magento/module-gift-card/magento-module-gift-card-101.3.4.0.zip
Downloading https://repo.magento.com/archives/magento/module-advanced-checkout/magento-module-advanced-checkout-100.4.4.0.zip
Downloading https://repo.magento.com/archives/magento/module-page-builder-admin-gws-admin-ui/magento-module-page-builder-admin-gws-admin-ui-1.7.1.0.zip
[404] https://repo.magento.com/archives/magento/module-cms-page-builder-analytics-staging/magento-module-cms-page-builder-analytics-staging-1.7.1.0.zip
Downloading https://repo.magento.com/archives/magento/module-staging-page-builder/magento-module-staging-page-builder-2.2.2.0.zip
[404] https://repo.magento.com/archives/magento/module-banner-page-builder-analytics/magento-module-banner-page-builder-analytics-1.7.1.0.zip
Downloading https://repo.magento.com/archives/magento/module-wishlist-gift-card-graph-ql/magento-module-wishlist-gift-card-graph-ql-100.4.1.0.zip
[404] https://repo.magento.com/archives/magento/module-banner-customer-segment/magento-module-banner-customer-segment-100.4.2.0.zip
Downloading https://repo.magento.com/archives/magento/module-wishlist-gift-card/magento-module-wishlist-gift-card-100.4.1.0.zip
[404] https://repo.magento.com/archives/magento/module-catalog-staging-page-builder/magento-module-catalog-staging-page-builder-1.7.1.0.zip
Downloading https://repo.magento.com/archives/magento/module-visual-merchandiser/magento-module-visual-merchandiser-100.4.4.0.zip
[404] https://repo.magento.com/archives/magento/module-catalog-page-builder-analytics-staging/magento-module-catalog-page-builder-analytics-staging-1.7.1.0.zip
Downloading https://repo.magento.com/archives/magento/module-target-rule/magento-module-target-rule-101.2.4.0.zip

In CurlDownloader.php line 617:
                                                                                                                                                                                                      
  [Composer\Downloader\TransportException (404)]                                                                                                                                                      
  The "https://repo.magento.com/archives/magento/module-customer-segment/magento-module-customer-segment-102.1.4.0.zip" file could not be downloaded (HTTP/2 404 ):                                   
  "This might just be a temporary issue, please try again in a moment. If the problem persists, please contact your Adobe Account Manager to confirm that your license entitlement has not expired."  
                                                                                                                                                                                                      

Exception trace:
  at phar:///usr/local/bin/composer/src/Composer/Util/Http/CurlDownloader.php:617
 Composer\Util\Http\CurlDownloader->failResponse() at phar:///usr/local/bin/composer/src/Composer/Util/Http/CurlDownloader.php:428
 Composer\Util\Http\CurlDownloader->tick() at phar:///usr/local/bin/composer/src/Composer/Util/HttpDownloader.php:371
 Composer\Util\HttpDownloader->countActiveJobs() at phar:///usr/local/bin/composer/src/Composer/Util/Loop.php:89
 Composer\Util\Loop->wait() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:444
 Composer\Installer\InstallationManager->waitOnPromises() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:306
 Composer\Installer\InstallationManager->downloadAndExecuteBatch() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:242
 Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer/src/Composer/Installer.php:786
 Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:283
 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:144
 Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:1028
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:370
 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:138
 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:88
 require() at /usr/local/bin/composer:29

Our access credentials have not changed. I remember it working late September.

Did adobe/magento make a change to their repository recently? Next move is contacting support but wanted to see if someone else has experienced this and could provide any insight.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 404 When attempting to download packages during composer install

Those are all adobe commerce paid modules, are you sure your licence for Adobe Commerce is still valid and you don't owe them any money? If so, contact support and they will resolve it.

Founder at https://agency418.com

View solution in original post

2 REPLIES 2

Re: 404 When attempting to download packages during composer install

Those are all adobe commerce paid modules, are you sure your licence for Adobe Commerce is still valid and you don't owe them any money? If so, contact support and they will resolve it.

Founder at https://agency418.com

Re: 404 When attempting to download packages during composer install

Thanks, this was definitely related to the cause. We needed to update our keys after a recent renewal.