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] [--] []...

  • There is an issue from Magento marketplace, they are fixing it. – Kamal Asawara Jun 15 at 16:00
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

| improve this answer | |
  • what do you mean in the root? module directory? – Mohit Rane Jun 19 at 11:19
  • create a auth,json file in root directory – divya sekar Jun 19 at 11:22
  • you mean in the marketplace? do you have a path or steps to follow? – Mohit Rane Jun 19 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 – divya sekar Jun 19 at 11:30
  • 1
    the path is myvendor_mymodule-2.0.2/auth.json used in magento marketplace – divya sekar Jun 19 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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.