balbuf / drupal-libraries-installer

Install Drupal libraries via a simple listing in your composer.json file
13 stars 6 forks source link

Cannot download libraries on specific hosting #4

Open VladimirAus opened 4 years ago

VladimirAus commented 4 years ago

On platform.sh I'm getting the following message during deployment:

W:   [Composer\Downloader\TransportException]                                                                                        
W:   The "https://github.com/recurser/jquery-simple-color/archive/v1.2.2.zip" file could not be downloaded (HTTP/1.1 404 Not Found)  

When I run php -i | grep -i ssl I get

        Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
        SSL => Yes
        SSL Version => OpenSSL/1.0.2u
        core SSL => supported
        extended SSL => supported
        openssl
        OpenSSL support => enabled
        OpenSSL Library Version => OpenSSL 1.1.0l  10 Sep 2019
        OpenSSL Header Version => OpenSSL 1.1.0l  10 Sep 2019
        Openssl default config => /usr/lib/ssl/openssl.cnf
        openssl.cafile => no value => no value
        openssl.capath => no value => no value
        Native OpenSSL support => enabled

Any ideas?

VladimirAus commented 4 years ago

Seems like I'm getting closer to the root cause. GitHub has new path convention and it is now https://codeload.github.com/recurser/jquery-simple-color/zip/v1.2.2 instead of https://github.com/recurser/jquery-simple-color/archive/v1.2.2.zip.

For some reason it is not redirected on hosting. Works fine on local though.