Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer install failing - file could not be downloaded - SSL: Connection reset by peer #129

Closed
convenient opened this issue Nov 18, 2016 · 0 comments

Comments

@convenient
Copy link
Contributor

Composer install has started failing on my project. I have the packages.firegento.com repository in my composer.json.

I've tried both of the following versions of composer

composer --version
Composer version 1.3-dev (8ad6385ffb68495e1d2afc8c554526d018e2d8e9) 2016-11-06 
composer --version
Composer version 1.2.2 2016-11-03 17:43:15
composer install -o -vvv
Reading ./composer.json
<snip>
Package operations: 21 installs, 1 update, 0 removals
Installs: connect20/Ultimate_ModuleCreator:1.9.5.0, sebastian/recursion-context:1.0.0, sebastian/exporter:1.2.0, sebastian/diff:1.3.0, sebastian/comparator:1.1.1, phpdocumentor/reflection-docblock:2.0.4, doctrine/instantiator:1.0.5, phpspec/prophecy:v1.4.1, sebastian/version:1.0.6, sebastian/environment:1.2.2, phpunit/php-token-stream:1.4.3, phpunit/php-text-template:1.2.1, phpunit/php-file-iterator:1.4.0, phpunit/php-code-coverage:2.1.8, phpunit/php-timer:1.0.6, phpunit/phpunit-mock-objects:2.3.5, symfony/yaml:v2.6.10, sebastian/global-state:1.0.0, phpunit/phpunit:4.6.6, phpunit/phpunit-selenium:1.4.2, squizlabs/php_codesniffer:2.3.3
  - Installing connect20/ultimate_modulecreator (1.9.5.0)
Downloading https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz
    Downloading: Failed
    Download failed, retrying...
Downloading https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz
    Downloading: Failed
    Download failed, retrying...
Downloading https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz
    Downloading: Failed

Failed: [Composer\Downloader\TransportException] 0: The "https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz" file could not be downloaded: SSL: Connection reset by peer
Failed to enable crypto
failed to open stream: operation failed


  [Composer\Downloader\TransportException]
  The "https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz" file could not be downloaded: SSL: Connection reset by peer
  Failed to enable crypto
  failed to open stream: operation failed

The file in question is definitely there, and accessible from my machine just not via the composer command. Any suggestions? I'm bypassing by uninstalling your module for now.

curl --HEAD https://connect20.magentocommerce.com/community/Ultimate_ModuleCreator/1.9.5.0/Ultimate_ModuleCreator-1.9.5.0.tgz
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: no-cache
Content-Disposition: attachment; filename="Ultimate_ModuleCreator-1.9.5.0.tgz"
Content-Length: 293037
Content-Type: application/octet-stream
Date: Fri, 18 Nov 2016 10:55:59 GMT
ETag: "564218d1-478ad"
Last-Modified: Tue, 10 Nov 2015 16:18:25 GMT
Server: nginx
Strict-Transport-Security: max-age=15984000
Connection: keep-alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant