composer: GitDownloader fails on composer.json update, when there is packages added as git repositories
[exec] [0m[31m*** [err :: internal.xxx.com] [RuntimeException]
[exec] [0m[31m*** [err :: internal.xxx.com] Failed to execute git remote set-url composer 'ssh://xxx@xxx.xxx.com/home/repositories/xxx.git' && git fetch composer && git fetch --tags composer
[exec] [0m[31m*** [err :: internal.xxx.com]
[exec] [0m[31m*** [err :: internal.xxx.com] Error reading response length from authentication socket.
[exec] [0m[31m*** [err :: internal.xxx.com] Permission denied, please try again.
[exec] [0m[31m*** [err :: internal.xxx.com] Permission denied, please try again.
[exec] [0m[31m*** [err :: internal.xxx.com] Permission denied (publickey,password).
[exec] [0m[31m*** [err :: internal.xxx.com] fatal: The remote end hung up unexpectedly
Looking at code i see only one option that there is no composer remote setup yet, and he trying to set url for that…?
its in composer.phar/src/Composer/Downloader/GitDownloader.php:74
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 16 (8 by maintainers)
This happened when I changed the branch I am requiring. To get past this error I deleted the project in the vendor directory and ran composer update.