I am having real trouble getting past this stage. I have looked at posts on this topic from different websites and none of the solutions work. I have created secret keys via magentocommerce website and using the keys to login to repo.magento.com.
Everytime I get the same error:
[Composer\Downloader\TransportException]
Invalid credentials for 'https://repo.magento.com/packages.json', aborting.
I have tried the manual approach when the username and password keys are not stored in auth.json file in .composer. After I enter the username I see the following error:
Password: bash: stty: command not found
I then tried to add the username and password to auth.json using the following format suggested here getcomposer.org/doc/articles/http-basic-authentication.md
I then ran this to test:
/usr/local/php56/bin/php-cli composer.phar update –dry-run
Which results with:
Loading composer repositories with package information
[Composer\Downloader\TransportException]
Invalid credentials for 'https://repo.magento.com/packages.json', aborting.
I have also created and new magento account and created new set of keys which has not helped.
Is anyone able to help?
Kind regards,
Hemal
Best Answer
The repository is not available right now, Magento is aware, it should be fixed soon: