Failed to decode response: zlib_decode(): data error

Par zorg-27, il y a 10 ans


Bonjour j'essai depuis ce matin d'updater un projet Symfony 2.6 -> 2.7 et je rencontre cette erreur :

Loading composer repositories with package information Updating dependencies (including require-dev) Failed to decode response: zlib_decode(): data error Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info - Removing symfony/symfony (v2.6.6) - Installing symfony/symfony (v2.7.3) Downloading: Connecting... Downloading: 0% 

Je travail sous Windows 10 64b, nod32, PhpStorm 9, mygit est installé.
pour info j'ai stopé nod32.

Merci

7 réponses

Grafikart, il y a 10 ans

Composer tu le lance depuis PHP Windows ou via une VM ?

zorg-27, il y a 10 ans

depuis phpstorm sous windows 10

zorg-27, il y a 10 ans

D:\Programmation\Web\server\xampp183-4\php\php.exe D:\Programmation\Web\server\Composer\composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
zlib_decode(): data error
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

  • Installing symfony/symfony (v2.6.11)
    Downloading: Connecting... Downloading: 0%  Downloading: 5%
il fait ca pendant des heures sans avancer !!
Grafikart, il y a 10 ans

Tu as essayer de mettre à jour composer ? (ton erreur est vraiment étrange)

zorg-27, il y a 10 ans

Composer est a jour! comme tout le reste.
je ne comprend pas mieux, j'ai même essayé une connexion en direct sans routeur et autre système.
le pire c'est que si je download en direct exemple : https://codeload.github.com/twbs/bootstrap/zip/master ca prend aussi des plombs

zorg-27, il y a 10 ans
Loading composer repositories with package information Updating dependencies (including require-dev) - Installing twbs/bootstrap (dev-master 1081733) Cloning 108173369d29f77645a12038ee3b2ccbfe5bea1c Failed to download twbs/bootstrap from source: The process "git clone --no-checkout "git://github.com/twbs/bootstrap.git" "D:\Programmation\Web\root_www\neo.ap4\vendor\twbs\bootstrap" && cd /D "D:\Programmation\Web\root_www\neo.ap4\vendor\twbs\bootstrap" && git remote add composer "git://github.com/twbs/bootstrap.git" && git fetch composer" exceeded the timeout of 300 seconds. Now trying to download from dist - Installing twbs/bootstrap (dev-master 1081733) Downloading: Connecting...
zorg-27, il y a 10 ans

J'ai trouver le probleme (protocole de communication entre local et provider) : j'utilisais un DFL 1200 qui lui n'est plus compatible avec le FAI local !!
Merci de ton aide.