3

Installation & Varnish Test Results Failed on Magento Marketplace

Magento Marketplace Installation & Varnish Test Results

composer.json

{
 "name": "vendor/preorder",
 "description": "Pre Order",
 "type": "magento2-module",
 "version": "2.0.0",
 "license": [
 "OSL-3.0",
 "AFL-3.0"
 ],
 "require": {
 "php": "~7.1.3||~7.2.0||~7.3.14||~7.3.0||~7.3.1||~7.3.2||~7.3.3||~7.3.4||~7.3.5||~7.3.6||~7.3.7||~7.3.8||~7.3.9||~7.3.10||~7.3.11||~7.3.12||~7.3.13"
 },
 "extra": {
 "installer-paths": {
 "app/code/Vendor/Preorder": ["vendor/preorder"]
 }
 },
 "autoload": {
 "files": ["registration.php"],
 "psr-4": {
 "Vendor\\Preorder\\": ""
 }
 }
}

[Composer\Downloader\TransportException]
The "https://repo.magento.com/packages.json" file could not be downloaded (HTTP/1.1 500 Internal Server Error)

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...

asked Jun 13, 2020 at 5:34
1
  • There is an issue from Magento marketplace, they are fixing it. Commented Jun 15, 2020 at 16:00

2 Answers 2

3

Updated

I have solved this by adding a auth.json file in the root

{
 "http-basic": {
 "repo.magento.com": {
 "username": "<public_key>",
 "password": "<private_key>"
 }
 }
}

Refer this https://devdocs.magento.com/guides/v2.3/install-gde/prereq/dev_install.html

answered Jun 16, 2020 at 5:05
14
  • what do you mean in the root? module directory? Commented Jun 19, 2020 at 11:19
  • create a auth,json file in root directory Commented Jun 19, 2020 at 11:22
  • you mean in the marketplace? do you have a path or steps to follow? Commented Jun 19, 2020 at 11:28
  • yes, you have to add auth.json file in root folder for upload a module package in magento marketplace if you have any doubts Commented Jun 19, 2020 at 11:30
  • 1
    the path is myvendor_mymodule-2.0.2/auth.json used in magento marketplace Commented Jun 19, 2020 at 12:36
3
+25

I had the same issue, it was from their side, but for someone else having the same issue, I recommend to check this answer and this Devdocs page.

answered Jun 17, 2020 at 0:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.