cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to load composer package

SOLVED

Unable to load composer package

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

 

111.png

 

any ideas on how to resolve this?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to load composer package

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

View solution in original post

2 REPLIES 2

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.

Re: Unable to load composer package

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