Why composer install timeouts after 300 seconds?

try composer update/install -o -vvv and check wether the package is being loaded from composer’s cache.

if yes try clearing composer’s cache or try adding -cache-dir=/dev/null.

To force downloading an archive instead of cloning sources, use the --prefer-dist option in combination with --no-dev.

Otherwise you could try raising composer’s process timeout value:

export COMPOSER_PROCESS_TIMEOUT=600   ( defaults to 300 )

Leave a Comment