Столкнул на работе с 2 ошибками при обновлении композера через прокси
1 2 |
Content-Length mismatch, received 359492 bytes out of the expected 479983 http://packagist.org could not be fully loaded, package information was loaded from the local cache and m |
1 2 3 |
The "https://bower.herokuapp.com/packages/jquery" file could not be downloaded: SSL operation failed with error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure failed to open stream: Cannot connect to HTTPS server through proxy |
Первое что вам нужно сделать это настроить работу composer через прокси
Для решения первой я попробовал сменить основной репозиторий с http на https (как ни странно):
1 |
composer config -g repo.packagist composer https://packagist.org |
Со второй ошибкой можно попробовать обновив asset-ы:
1 |
composer global require "fxp/composer-asset-plugin:~1.1" |
Можно еще в настройках проекта composer.json отключить https:
1 2 3 4 5 |
"config": { "preferred-install": "dist", "disable-tls": true, "secure-http": false, }, |