-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file could not be downloaded: failed to open stream: HTTP request failed! #5286
Comments
It works if you replace quotes like that
But I have no idea what does it mean and how make composer download the package. Why it downloads other packages well but can't download only some of them? |
Seems that it solves the problem #5656 (comment) |
[Composer\Downloader\TransportException] |
hey pirael, did you get the solution? |
i know this is old but, rumour has it that the issue could be caused by the redirect from http to https, so adding something like the following to
OR, alternatively, you can run |
I'm having the below error when installing any package:
When I run this command:
I get this output:
Searching for this error, I found a discussion on the subject in php.net [1]
When I run this command:
I get this output:
Anyone who has had this problem, I recommend using CURL. How can I solve this?
Tanks!
[1] https://bugs.php.net/bug.php?id=40197
The text was updated successfully, but these errors were encountered: