packagist: Cannot run composer update, hangs or returns Content-Length mismatch
I’ve been unable to run composer update on several different servers this morning.
It either hangs seemingly indefinitely, or returns the error
Content-Length mismatch, received 415311 bytes out of the expected 1479855 http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
Hey sorry we had issues on one of the north american mirrors, should be resolved now.
Switching mirrors seems to have fixed it for me.
composer config --global repo.packagist composer https://packagist.jp
Here’s the particular URL after running composer update with -vvv
(then a big base64 dump)