- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When trying to load a composer package I get the following error:
[Composer\Downloader\TransportException]
Your configuration does not allow connections to http://repo.vnecoms.com/packages.json. See https://getcomposer.org/doc/06-config.md#secure-ht
any ideas on how to resolve this?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind found the solution. modified the Comoser.json in the magento directory to include the secure http to https.
Thanks guys maybe if anyone runs into this problem they atleast have the solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to load composer package
I believe this is whats causing it. Is there an exception to only use HTTP instead of HTTPS?
secure-http#
Defaults to true. If set to true only HTTPS URLs are allowed to be downloaded via Composer. If you really absolutely need HTTP access to something then you can disable it, but using Let's Encrypt to get a free SSL certificate is generally a better alternative.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content