Failed to clone https://github.com/composer/package-versions-deprecated.git via https, ssh protocols, aborting
ribehbl opened this issue · 7 comments
I am trying to install dependencies of a symfony4 app.
composer install/update does not seem to work. I got an error : Failed to clone https://github.com/composer/package-versions-deprecated.git via https, ssh protocols, aborting
Error message:
`
-
Installing composer/package-versions-deprecated (1.10.99): Downloading
Failed to download composer/package-versions-deprecated from dist: The "https://api.github.com/repos/composer/package-versions-deprecated/zipball/dd51b4443d58b34b6d9344cf4c288e621c9a826f" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Name or service not known
failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
Now trying to download from source- Installing composer/package-versions-deprecated (1.10.99): Cloning dd51b44
[RuntimeException]
Failed to clone https://github.com/composer/package-versions-deprecated.git via https, ssh protocols, aborting.-
https://github.com/composer/package-versions-deprecated.git
Cloning into '/tmp/app/vendor/composer/package-versions-deprecated'...
fatal: unable to access 'https://github.com/composer/package-versions-deprecated.git/': Could not resolve host: github.com -
git@github.com:composer/package-versions-deprecated.git
Cloning into '/tmp/app/vendor/composer/package-versions-deprecated'...
ssh: Could not resolve hostname github.com: Name or service not known
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
`
PHP version: 7.2 ; Symfony: 4.4.9; Composer Version: 1.7.2
in composer.json:
"composer/package-versions-deprecated": "^1.10"
Looks like a network issue really? Can you still reproduce this?
Looks like a network issue really? Can you still reproduce this?
yes, I try and the error persist. I have the same error: fatal: unable to access 'https://github.com/composer/package-versions-deprecated.git/': Could not resolve host: github.com
Maybe try a different network/machine if you can.. or via vpn perhaps?
Hi @Seldaek
I know this seems completely unrelated to this project, but could we re open this ?
We have this error in our pipeline since a month, happens about once a day and always with this repository.
Very odd.. why is it even cloning vs downloading a zip?
it did not succeed downloading the ZIP available there: https://api.github.com/repos/composer/package-versions-deprecated/zipball/b174585d1fe49ceed21928a945138948cb394600
(it's currently available)
But we can see that other repositories have timeouts too, I should open an issue somewhere else I guess (will update if I do)
Yeah sorry but network timeouts I cannot do much about.