cancel
Showing results for 
Search instead for 
Did you mean: 

Composer install failed to download magento2-base from repo.magento.com

Composer install failed to download magento2-base from repo.magento.com

Hello,

at the moment I have issue with downloading package from repo.magento.com (worked fine yesterday when I tried last time):

2025-07-10 12_16_49-Window.png

I have the same issue for 2.4.5-p12 and also 2.4.7-p6

 

Is there some issue currently with repo.magento.com?

2 REPLIES 2

Re: Composer install failed to download magento2-base from repo.magento.com

Hi @deniskrist9d27 ,

Not sure about global problem but repo.magento.com working fine for me while installing new version.

I suggest to verify username and password once in ~/home/user/.config/composer

{
  "http-basic": {
    "repo.magento.com": {
      "username": "<public‑key‑from‑Marketplace>",
      "password": "<secret‑key‑from‑Marketplace>"
    }
  }
}

You can try below as well once

composer clear‑cache

 

In case of composer timeout or network error try below one time

COMPOSER_PROCESS_TIMEOUT=2000

 

Problem Solved? Accept as Solution!

 

Thanks,

Ankit

Ankit Jasani

Re: Composer install failed to download magento2-base from repo.magento.com

When encountering errors like Composer failing to download magento2-base from repo.magento.com, it’s usually related to network issues, authentication problems, or Composer configuration. Double-check your a uth.json credentials, ensure Composer is updated, and verify your internet connection. Sometimes, clearing Composer cache helps resolve download problems. While troubleshooting, it can be useful to step away from heavy tasks temporarily and enjoy a break. For instance, many developers like to stream shows or movies during downtime. Using a reliable desktop   app, like xciptv para pc, allows you to catch up on content smoothly while resolving technical issues without missing a beat.