{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4332","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/4332/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4332/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4332/events","html_url":"https://github.com/composer/composer/issues/4332","id":99295471,"number":4332,"title":"Invalid ZIP error for a few weeks now","user":{"login":"avindra","id":126848,"avatar_url":"https://avatars.githubusercontent.com/u/126848?v=3","gravatar_id":"","url":"https://api.github.com/users/avindra","html_url":"https://github.com/avindra","followers_url":"https://api.github.com/users/avindra/followers","following_url":"https://api.github.com/users/avindra/following{/other_user}","gists_url":"https://api.github.com/users/avindra/gists{/gist_id}","starred_url":"https://api.github.com/users/avindra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avindra/subscriptions","organizations_url":"https://api.github.com/users/avindra/orgs","repos_url":"https://api.github.com/users/avindra/repos","events_url":"https://api.github.com/users/avindra/events{/privacy}","received_events_url":"https://api.github.com/users/avindra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-05T20:48:28Z","updated_at":"2016-03-02T18:50:25Z","closed_at":null,"body":"Hi,\r\n\r\nWe haven't been able to download from dist for several weeks (maybe months) now. We are  forced to use source, which takes quite long because composer doesn't clone with depth=1. Can someone help debug?\r\n\r\n```\r\n$ composer update -vvv\r\nReading ./composer.json\r\nLoading config file ./composer.json\r\nExecuting command (CWD): git describe --exact-match --tags\r\nExecuting command (CWD): git branch --no-color --no-abbrev -v\r\nFailed to initialize global composer: Composer could not find the config file: /home/oracle/.composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\r\nLoading composer repositories with package information\r\nDownloading https://packagist.org/packages.json\r\nWriting /home/oracle/.composer/cache/repo/https---packagist.org/packages.json into cache\r\nUpdating dependencies (including require-dev)\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2013.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2014.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2014-10.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2015-01.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2015-04.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-2015-07.json from cache\r\nDownloading http://packagist.org/p/provider-latest$3b07827820eaa10695f2f89e76cc76d61d41a1f1a79232a70b5065890f07bd34.json\r\nWriting /home/oracle/.composer/cache/repo/https---packagist.org/p-provider-latest.json into cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-phpmailer$phpmailer.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-easybook$geshi.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-erusev$parsedown.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-filp$whoops.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-guzzlehttp$guzzle.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-guzzlehttp$psr7.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-guzzlehttp$promises.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-psr$http-message.json from cache\r\nReading /home/oracle/.composer/cache/repo/https---packagist.org/provider-symfony$process.json from cache\r\nAnalyzed 564 packages to resolve dependencies\r\nAnalyzed 67 rules to resolve dependencies\r\n  - Installing phpmailer/phpmailer (v5.2.10)\r\nDownloading https://api.github.com/repos/PHPMailer/PHPMailer/zipball/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7\r\n    Downloading: 100%\r\nWriting /home/oracle/.composer/cache/files/phpmailer/phpmailer/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7.zip into cache\r\n    Extracting archive\r\nExecuting command (CWD): unzip '/app/myapp/vendor/phpmailer/phpmailer/1ae2dec0ddd65b714d123948d48c89f6' -d '/app/myapp/vendor/composer/c4aeedaf' && chmod -R u+w '/app/myapp/vendor/composer/c4aeedaf'\r\n    Invalid zip file, retrying...\r\n  - Installing phpmailer/phpmailer (v5.2.10)\r\nDownloading https://api.github.com/repos/PHPMailer/PHPMailer/zipball/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7\r\n    Downloading: 100%\r\nWriting /home/oracle/.composer/cache/files/phpmailer/phpmailer/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7.zip into cache\r\n    Extracting archive\r\nExecuting command (CWD): unzip '/app/myapp/vendor/phpmailer/phpmailer/1ae2dec0ddd65b714d123948d48c89f6' -d '/app/myapp/vendor/composer/c4aeedaf' && chmod -R u+w '/app/myapp/vendor/composer/c4aeedaf'\r\n    Invalid zip file, retrying...\r\n  - Installing phpmailer/phpmailer (v5.2.10)\r\nDownloading https://api.github.com/repos/PHPMailer/PHPMailer/zipball/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7\r\n    Downloading: 100%\r\nWriting /home/oracle/.composer/cache/files/phpmailer/phpmailer/07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7.zip into cache\r\n    Extracting archive\r\nExecuting command (CWD): unzip '/app/myapp/vendor/phpmailer/phpmailer/1ae2dec0ddd65b714d123948d48c89f6' -d '/app/myapp/vendor/composer/c4aeedaf' && chmod -R u+w '/app/myapp/vendor/composer/c4aeedaf'\r\n    Failed to download phpmailer/phpmailer from dist: '/app/myapp/vendor/phpmailer/phpmailer/1ae2dec0ddd65b714d123948d48c89f6' is not a zip archive.\r\n    Now trying to download from source\r\n  - Installing phpmailer/phpmailer (v5.2.10)\r\n    Cloning 07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7\r\nExecuting command (CWD): git clone --no-checkout 'git://github.com/PHPMailer/PHPMailer.git' '/app/myapp/vendor/phpmailer/phpmailer' && cd '/app/myapp/vendor/phpmailer/phpmailer' && git remote add composer 'git://github.com/PHPMailer/PHPMailer.git' && git fetch composer\r\nExecuting command (/app/myapp/vendor/phpmailer/phpmailer): git remote set-url --push origin 'git@github.com:PHPMailer/PHPMailer.git'\r\nExecuting command (/app/myapp/vendor/phpmailer/phpmailer): git branch -r\r\nExecuting command (/app/myapp/vendor/phpmailer/phpmailer): git checkout 'v5.2.10' --\r\nExecuting command (/app/myapp/vendor/phpmailer/phpmailer): git reset --hard '07005ecbb80d11ec8c0f067bb37e8909cc7fcbb7' --\r\n\r\n    REASON: Required by root: Install command rule (install phpmailer/phpmailer v5.2.10)\r\n```"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/191369198","html_url":"https://github.com/composer/composer/issues/4332#issuecomment-191369198","issue_url":"https://api.github.com/repos/composer/composer/issues/4332","id":191369198,"user":{"login":"Scentyoo","id":3822672,"avatar_url":"https://avatars.githubusercontent.com/u/3822672?v=3","gravatar_id":"","url":"https://api.github.com/users/Scentyoo","html_url":"https://github.com/Scentyoo","followers_url":"https://api.github.com/users/Scentyoo/followers","following_url":"https://api.github.com/users/Scentyoo/following{/other_user}","gists_url":"https://api.github.com/users/Scentyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Scentyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scentyoo/subscriptions","organizations_url":"https://api.github.com/users/Scentyoo/orgs","repos_url":"https://api.github.com/users/Scentyoo/repos","events_url":"https://api.github.com/users/Scentyoo/events{/privacy}","received_events_url":"https://api.github.com/users/Scentyoo/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T18:50:25Z","updated_at":"2016-03-02T18:50:25Z","body":"Hello! As I mentioned `Checking HTTPS proxy support for request_fulluri: FAIL` is the problem. And it only happens since PHP 5.6."}}