Can't get composer to update, self-update, install, etc...
Tried reinstall global and local dir.
Using MAMP, OSX 10,10,4, php 5.6.7.
composer -vvv diagnose
Reading ./composer.json
Loading config file /Users/curt/.composer/config.json
Loading config file /Users/curt/.composer/auth.json
Loading config file ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Executing command (CWD): hg branch
Executing command (CWD): svn info --xml
Reading /Users/curt/.composer/composer.json
Loading config file /Users/curt/.composer/config.json
Loading config file /Users/curt/.composer/auth.json
Loading config file /Users/curt/.composer/composer.json
Loading config file /Users/curt/.composer/auth.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Executing command (CWD): hg branch
Executing command (CWD): svn info --xml
Checking composer.json: Reading ./composer.json
OK
Checking platform settings: OK
Checking git settings: Executing command (CWD): git config color.ui
OK
Checking http connectivity to packagist: Downloading http://packagist.org/packages.json
FAIL
[Composer\Downloader\TransportException] The "http://packagist.org/packages.json" file could not be downloaded: failed to open stream: Operation timed out
Checking https connectivity to packagist: Downloading https://packagist.org/packages.json
FAIL
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: failed to open stream: Operation timed out
Checking github.com oauth access: Downloading https://api.github.com/user/repos
OK
Checking disk free space: OK
Checking composer version: Downloading https://getcomposer.org/version
[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded: failed to open stream: Operation timed out
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Util/RemoteFilesystem.php:267
Composer\Util\RemoteFilesystem->get() at phar:///usr/local/bin/composer/src/Composer/Util/RemoteFilesystem.php:83
Composer\Util\RemoteFilesystem->getContents() at phar:///usr/local/bin/composer/src/Composer/Command/DiagnoseCommand.php:311
Composer\Command\DiagnoseCommand->checkVersion() at phar:///usr/local/bin/composer/src/Composer/Command/DiagnoseCommand.php:135
Composer\Command\DiagnoseCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:874
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:146
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:82
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:43
require() at /usr/local/bin/composer:25
diagnose
Using Laravel 5.1
Mac OS X 10.10.4
Running MAMP 3.2.1
php -v
PHP 5.6.7 (cli) (built: Apr 9 2015 19:32:03)
Can't figure it out.
Reinstalled composer.
composer self update is not working.
only seems to happening with global composer
local in working dir seems to work albeit slow.
Read this somewhere and tried to with this result.
curl -k https://packagist.org/packages.json
{"packages":[],"notify":"\/downloads\/%package%","notify-batch":"\/downloads\/","providers-url":"\/p\/%package%$%hash%.json","search":"\/search.json?q=%query%","provider-includes":{"p\/provider-2013$%hash%.json":{"sha256":"8e290f3d47387c614761a9dc40a2ef6fb7dafb0cfe2264296e8fab2c6ee36bff"},"p\/provider-2014$%hash%.json":{"sha256":"c0d0e03ec56584b3bf3148ac1565d89e789a57b90d72f83a7a54a55fbfc4f083"},"p\/provider-2014-07$%hash%.json":{"sha256":"9b2d66a77e2f17ca1c18602419a2b5Cur
That is all it returned and no error.
Any suggestions of where to look for a solution would really help. DOA for now - can't deploy.