{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4121","labels_url":"https://api.github.com/repos/composer/composer/issues/4121/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4121/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4121/events","html_url":"https://github.com/composer/composer/issues/4121","id":86098299,"number":4121,"title":"zlib_decode(): data error","user":{"login":"Ugoku","id":3470653,"avatar_url":"https://avatars.githubusercontent.com/u/3470653?v=3","gravatar_id":"","url":"https://api.github.com/users/Ugoku","html_url":"https://github.com/Ugoku","followers_url":"https://api.github.com/users/Ugoku/followers","following_url":"https://api.github.com/users/Ugoku/following{/other_user}","gists_url":"https://api.github.com/users/Ugoku/gists{/gist_id}","starred_url":"https://api.github.com/users/Ugoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ugoku/subscriptions","organizations_url":"https://api.github.com/users/Ugoku/orgs","repos_url":"https://api.github.com/users/Ugoku/repos","events_url":"https://api.github.com/users/Ugoku/events{/privacy}","received_events_url":"https://api.github.com/users/Ugoku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Support","name":"Support","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2015-06-08T09:21:18Z","updated_at":"2015-06-22T11:13:58Z","closed_at":null,"body":"I realise this issue has been raised before (#3006, #3270) but no replies were given there and the results are many months old. Since a while, I'm getting the error mentioned in the issue title, when doing a `composer require xxx/yyy` or `composer install`\r\nStack trace from the \"very verbose\" mode is as follows:\r\n\r\n```\r\n  [ErrorException]\r\n  zlib_decode(): data error\r\n\r\n\r\n\r\nException trace:\r\n () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/RemoteFilesystem.php:218\r\n Composer\\Util\\ErrorHandler::handle() at n/a:n/a\r\n zlib_decode() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/RemoteFilesystem.php:218\r\n Composer\\Util\\RemoteFilesystem->get() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/Remote\r\nFilesystem.php:83\r\n Composer\\Util\\RemoteFilesystem->getContents() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Rep\r\nository/ComposerRepository.php:587\r\n Composer\\Repository\\ComposerRepository->fetchFile() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Compos\r\ner/Repository/ComposerRepository.php:296\r\n Composer\\Repository\\ComposerRepository->whatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Com\r\nposer/DependencyResolver/Pool.php:191\r\n Composer\\DependencyResolver\\Pool->computeWhatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Co\r\nmposer/DependencyResolver/Pool.php:180\r\n Composer\\DependencyResolver\\Pool->whatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/\r\nDependencyResolver/RuleSetGenerator.php:221\r\n Composer\\DependencyResolver\\RuleSetGenerator->addRulesForPackage() at phar://C:/ProgramData/ComposerSetup/bin/composer.\r\nphar/src/Composer/DependencyResolver/RuleSetGenerator.php:293\r\n Composer\\DependencyResolver\\RuleSetGenerator->addRulesForJobs() at phar://C:/ProgramData/ComposerSetup/bin/composer.pha\r\nr/src/Composer/DependencyResolver/RuleSetGenerator.php:333\r\n Composer\\DependencyResolver\\RuleSetGenerator->getRulesFor() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/sr\r\nc/Composer/DependencyResolver/Solver.php:172\r\n Composer\\DependencyResolver\\Solver->solve() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Insta\r\nller.php:505\r\n Composer\\Installer->doInstall() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:230\r\n\r\n Composer\\Installer->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Command/RequireCommand.\r\nphp:158\r\n Composer\\Command\\RequireCommand->execute() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/cons\r\nole/Symfony/Component/Console/Command/Command.php:257\r\n Symfony\\Component\\Console\\Command\\Command->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfon\r\ny/console/Symfony/Component/Console/Application.php:874\r\n Symfony\\Component\\Console\\Application->doRunCommand() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/s\r\nymfony/console/Symfony/Component/Console/Application.php:195\r\n Symfony\\Component\\Console\\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Co\r\nnsole/Application.php:146\r\n Composer\\Console\\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/S\r\nymfony/Component/Console/Application.php:126\r\n Symfony\\Component\\Console\\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cons\r\nole/Application.php:82\r\n Composer\\Console\\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:43\r\n require() at C:\\ProgramData\\ComposerSetup\\bin\\composer.phar:25\r\n```\r\n\r\nAny thoughts on why this happens and/or how to fix it?\r\nI'm only getting this on one of my systems, and it worked fine in the past, I'm not sure what changed since. I have reinstalled Composer just now, so I'm using the latest version. Specs of my system: Windows 8.1 x64, PHP 5.6.5 x64\r\n\r\nEdit: when I require a new dependency on an other machine, then run `composer install` on my own system, that works just fine.\r\n\r\nEdit 2: I just noticed Composer is connecting to http://packagist.org, despite having openssl enabled."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/114070386","html_url":"https://github.com/composer/composer/issues/4121#issuecomment-114070386","issue_url":"https://api.github.com/repos/composer/composer/issues/4121","id":114070386,"user":{"login":"slbmeh","id":1659267,"avatar_url":"https://avatars.githubusercontent.com/u/1659267?v=3","gravatar_id":"","url":"https://api.github.com/users/slbmeh","html_url":"https://github.com/slbmeh","followers_url":"https://api.github.com/users/slbmeh/followers","following_url":"https://api.github.com/users/slbmeh/following{/other_user}","gists_url":"https://api.github.com/users/slbmeh/gists{/gist_id}","starred_url":"https://api.github.com/users/slbmeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slbmeh/subscriptions","organizations_url":"https://api.github.com/users/slbmeh/orgs","repos_url":"https://api.github.com/users/slbmeh/repos","events_url":"https://api.github.com/users/slbmeh/events{/privacy}","received_events_url":"https://api.github.com/users/slbmeh/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T11:13:58Z","updated_at":"2015-06-22T11:13:58Z","body":"@Ugoku I believe this [gist](https://gist.github.com/slbmeh/57cea59ed3dc5de02e54) should cover the context composer sets up."}}