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
Composer file could not be downloaded (404 not found) #7021
Comments
I'm having the same problem. It hangs for a long time, then displays this error. I tried uninstalling and re-installing Composer, but the result is same. |
Same problem for me |
No solution yet? Still facing the same problem :( |
Same problem for me - but this was cleared by: composer clear-cache |
Can you try composer clear-cache then composer -vvv after that try running the install command for laravel, it worked for me though |
having the same problem. |
Also my problem |
This issue was never fixed. |
For proxy issues, try: Details: |
Anybody found the solution? |
I didn't find any solution. But I found when the problem occurs. It seems the problem only occurs when I'm using my broadband connection IP. If I use mobile data via hotspot everything seems to work fine. But for some reason won't work on my broadbrand IP. |
That is weird. I will check that too
Sent from Yahoo Mail for iPhone
On Tuesday, January 29, 2019, 12:57 PM, Miraz Mac <notifications@github.com> wrote:
I didn't find any solution. But I found when the problem occurs. It seems the problem only occurs when I'm using my broadband connection IP. If I use mobile data via hotspot everything seems to work fine. But for some reason won't work on my broadbrand IP.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
First I try the command "composer clear-cache". It still not working. |
It works for me. |
it works for me too |
we had a ton of vcs repos pointing to different private github repos, I simply removed most of them added a packagist url to those, tried install again, then it asked me for github ssh access token, I entered it, it failed installing some modules, I reverted composer.json back to the original, removed everything in vendor folder and ran install again and then everything worked fine :P |
This worked for me aswell |
composer clear-cache rectifies the error |
This comment has been minimized.
This comment has been minimized.
Probably sometimes you have to add repositories to composer, it solved my problem. |
the composer clear-cache Solution Worked For Me , Thanks to @johnabelardom |
This work for me also |
Hello, I recently encountered the same following error when trying to composer require seostats/seostats package. Then tried a composer clear-cache Can anybody explain why this is happening? Here is my composer diagnose results |
Changed my composer default repos to this and it solved the content-length mismatch errors and I was able to successfully install my package. |
@SV-ZeroOne This might be the problem: https://twitter.com/packagist/status/1156148973738110978 |
This was a solution for me |
composer clear-cache composer -vvv |
if "composer clear-cache" doesnt work, try using "composer self-update" before your composer update command and it should fix any composer related issues itself and should fix your problem. |
it seems that there are some network issues from time to time on the main server i tried one of the mirrors as a temporary workaround:
it was pretty slow, but worked finally |
composer config -g -- disable-tls false |
It worked for me. I installed laravel / ui, I had the same error. Thank you |
This is very strange behaviour. When I try to open the JSON url, it gives the neat 404 error from the Packagist. When I try to open the JSON url on the Windows host, it show the json data just fine. I think it is worth investigating this further. Is maybe packagist blocking certain requests? |
Worked (I am using cPanel Terminal) |
This worked for me! Thanks so much |
I've been having an occurence of this issue. None of the suggestions in this thread have worked, but I've found that the issue only occurs when I attempt to load |
This worked for me.Thanks:) |
It seems that this problem is about failing to download required JSON from Packagist mirror site. And I've suffered this issue from main and my Packagist mirror before. It usually gets failed when the specific mirror site is upgrading mirror data. And it doesn't have the current way to resolve this issue at this moment. Some possible ways I try are as follows:
|
This helped me, Thank you <3. |
I tried all previous sollution and nothing happened but finally this worked for me |
I got this issue when I forgot to use SUDO. So |
This issue has been automatically marked Stale and will be closed in 15 days if no further activity happens. |
Beste mailer, in augustus ben ik minder goed bereikbaar in verband met de vakantieperiode. Spoedeisende zaken kunnen telefonisch worden gemeld op het bij u bekende telefoonnummer. Let op; hiervoor kunnen extra kosten in rekening worden gebracht. Vanaf maandag 30 augustus ben ik weer volledig bereikbaar.
Bedankt voor uw begrip.
Dear reader, in the month of august I my attainability is limited due to holiday times. Emergency cases can be reported on the known phone number you have. Attention; additional fees may be charged. From monday the 30th of august I am fully operational again.
Thank you for your understanding.
…--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
Same issue |
There are many reasons for this error. One additional thing to check is that, if you're using private repos with user/pass, you might not have the correct permissions. Check:
|
Credentials problem for me! |
Yes that happened for me too! composer diagnose If you spot there: Just remove it. And try install again. In my case I was getting 404 errors because an outdated key was there (Although it expected other error with that instead of 404) |
This one helped me for some situation. I think token is expired and it couldn't connect to git repo due to this reason. But after removing it, it asked me for new token and I generated new one and it fixed the problem. Thank you. |
nano ~/.composer/auth.json |
This issue has been automatically marked Stale and will be closed in 15 days if no further activity happens. |
I tyring to install Laravel
Output of
composer diagnose
:d:\web>composer diag
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking HTTP proxy: OK
Checking HTTP proxy support for request_fulluri: OK
Checking HTTPS proxy support for request_fulluri: OK
Checking github.com oauth access: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 ****
723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B ****
8C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 1.6.2
PHP version: 7.2.1
PHP binary path: D:\php-7.2.1-nts-Win32-VC15-x86\php.exe
When I run this command:
composer global require "laravel/installer"
I get the following output:
[Composer\Downloader\TransportException]
The "https://packagist.org/p/symfony/console%2433f24f3dbe55cff57fe06a5fa93b
a0bbe3ae3b259e2c5b7d051da0238769fa0f.json" file could not be downloaded (HT
TP/1.1 404 Not Found)
The text was updated successfully, but these errors were encountered: