Amasty do not want to know about this problem. ! Support sucks
I get this message in my Extension Manager.
The extension does work ok.
Command "show" failed: [Composer\Downloader\TransportException] The 'https://composer.amasty.com/community/packages.json' URL required authentication. You must be using the interactive console to authenticate show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [-l|--latest] [-o|--outdated] [-m|--minor-only] [-D|--direct] [--strict] [-f|--format FORMAT] [--] [<package>] [<version>]
Can anyone help? Thanks
Solved! Go to Solution.
OK - I started again with clean Magento 2.2.3 installation.
Uploaded Amasty files via FTP then run :
composer update
Then run:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
So if this happens just dont install via Amasty repositories:
composer config repositories.amasty composer <path>
Issue occurs because you have not added auth.json file in root directory of magento2.
Extension manager actually going to authenticate it but its not able to find public key and private key and because of that this issue is occurred, to resolve this issue follow below steps:
create one auth.json file in root directory of your magento2
put below code in auth.json file :
{ "http-basic": { "repo.magento.com": { "username": "<public-key>", "password": "<private-key>" } } }
Note : You might be aware of this still here is the link for how to get key - http://docs.magento.com/marketplace/user_guide/account/account-magento2-access-keys.html
I put auth.json file in root directory but still same message appears.
have you added your public key and private key in that auth.json file ? which is of magento 2 and from marketplace ?
Public/Private Keys added from account
okay do one thing - There is one more auth.json file in VAR folder , from there add your amasty details or update it.
Amasty might have give you authentication code or key or anything put that in auth.json file of VAR directory.
no auth.json in VAR directory unless you meant here:
var/composer_home/auth.json (this already has Magento keys)
I do have access keys for the Amasty extension. They only got prompted on first installation run.
OK - I started again with clean Magento 2.2.3 installation.
Uploaded Amasty files via FTP then run :
composer update
Then run:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
So if this happens just dont install via Amasty repositories:
composer config repositories.amasty composer <path>
This worked for me
Just found a better way to fix the issue if you run upon this. Instead of doing a fresh install and starting over. You can open composer.json in the root director and remove the following, save and reload extension manager.
, "amasty": { "type": "composer", "url": "https://composer.amasty.com/community/" }