Skip to content

Composer hangs when downloading magento/magento2-base package

When I try do a composer install it hangs when downloading Magento base package. I confirmed it’s not the keys. When I enter wrong credentials it just fails and reports the credentials are wrong.

I waited at least one hour. It just hangs. I also ran with -vvv option. It doens’t give any clues.

Does someone have any ideas?

[user]$ composer install
You are using Composer 1 which is deprecated. You should upgrade to Composer 2, see https://blog.packagist.com/deprecating-composer-1-support/
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 120 installs, 0 updates, 0 removals
  - Installing magento/magento2-base (2.4.0): Downloading (connecting...)    Authentication required (repo.magento.com):
      Username: <maksked>
      Password: 
Downloading (0%)