cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

SOLVED
Highlighted

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

We detected a problem in 2.0.3 so yanked it from the site. I am not sure if they did this just by turning off file permissions. 2.0.4 will be released ASAP (probably overnight). Sorry for the inconvenience! As in another thread, no excuses from our side. It should not have happened.

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Hello,

 

I'm having the same problem, detailed here: https://community.magento.com/t5/Installing-Magento-2/Install-error-Invalid-credentials-for-https-re...

 

After a fellow poster directed me to this thread, I've pulled the latest version from: https://github.com/magento/magento2.git public and followed up by pulling the latest version using - sudo git checkout tags/2.0.4 -b 2.0.4

 

I am still experiencing the same issue when running : sudo composer install

 

I get

 

- Installing magento/composer (1.0.2)
Downloading: Connecting...
[Composer\Downloader\TransportException] Invalid credentials for 'https://repo.magento.com/archives/magento/composer/magento-composer-1.0.2.0.zip', aborting.

 

Can anyone help?  I DEFINITELY have the right keys in my .json file.


Side note:
The changelog file in 2.0.3 showed correct changes for that version.
After checking out 2.0.4, the changelog file is only showing changes up to 2.0.0

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

 The password field is hidden for security purposes. Just paste or type and hit enter. It'll work

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

you are life saver, ThanksHeart

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Enter: https://marketplace.magento.com/customer/accessKeys/list/

Click: Magento 2

Click: "Create A New Access Key"

Use the Public key as UserName and Private Key as Password.

 

 

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Thank otimo that is exactly how you do it!

 


@otimo wrote:

Enter: https://marketplace.magento.com/customer/accessKeys/list/

Click: Magento 2

Click: "Create A New Access Key"

Use the Public key as UserName and Private Key as Password.

 

 


 

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Worked perfectly, thanks!

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Why didn't magento just mention that the username is the public key, while the password is the private key?

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

It's certainly no secret. DevDocs happy accept GitHub pull requests for docs improvements if you think adding this somewhere would have helped you.

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

Solved by auth.json

 

PHP v7.0

Magento v2.0

Windows 10