Closed marcgetter closed 5 years ago
Same. Came here to report this. When I open the file in FireFox I get this error: SyntaxError: JSON.parse: unterminated string at line 1 column 392660 of the JSON data
I am getting a similar issue with:
Content-Length mismatch, received 65280 out of 3999824 bytes
The file is also cut off when viewing the .json file.
I am getting a similar issue with:
Content-Length mismatch, received 65280 out of 3999824 bytes
The file is also cut off when viewing the .json file.
Wget tries to download partial
--2019-10-28 11:09:13-- https://asset-packagist.org/p/provider-latest/46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json
Resolving asset-packagist.org (asset-packagist.org)... 185.56.232.198
Connecting to asset-packagist.org (asset-packagist.org)|185.56.232.198|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3999824 (3.8M) [application/json]
Saving to: '46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json.1'
46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f 2%[=> ] 79.75K --.-KB/s in 0.1s
2019-10-28 11:09:14 (735 KB/s) - Connection closed at byte 81659. Retrying.
--2019-10-28 11:09:15-- (try: 2) https://asset-packagist.org/p/provider-latest/46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json
Connecting to asset-packagist.org (asset-packagist.org)|185.56.232.198|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 3999824 (3.8M), 3918165 (3.7M) remaining [application/json]
Saving to: '46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json.1'
46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f 4%[++==> ] 159.46K --.-KB/s in 0.1s
2019-10-28 11:09:15 (735 KB/s) - Connection closed at byte 163283. Retrying.
--2019-10-28 11:09:17-- (try: 3) https://asset-packagist.org/p/provider-latest/46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json
Connecting to asset-packagist.org (asset-packagist.org)|185.56.232.198|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 3999824 (3.8M), 3836541 (3.7M) remaining [application/json]
Saving to: '46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f7fbfc.json.1'
46dd90034cc9b9f8835f29c76309a317e62c99f35bbfdb43c128faab43f 6%[+++++==> ] 239.17K --.-KB/s in 0.1s
2019-10-28 11:09:18 (798 KB/s) - Connection closed at byte 244906. Retrying.
Have same problem also.
confirmed, json invalid.
As a workaround, if you are not actually updating the packages you are requiring from asset-packagist, you can just remove the repo from your composer.json while you are updating.
https://www.bountysource.com/issues/82594637-content-length-mismatch
rm -rf MY_PROJECT && composer clearcache && composer -vvvv create-project ymcatwincities/openy-project MY_PROJECT --no-interaction
Content-Length mismatch, received 130816 out of 4000042 bytes:
Working on the problem, thanks for the update
Fixed. Sorry for the inconvenience.
composer update failed for download https://asset-packagist.org/p/provider-latest/e466e847c6e58fc7659581a46582a2fc80a17fc843cb977a682e1de70e9b1eb3.json
I am experiencing the same problem today.
Same problem
[Composer\Downloader\TransportException]
Content-Length mismatch, received 81664 bytes out of the expected 4000651
Are you sure this problem still happens? I have tried it, and it works fine
It happens time to time.
One more example:
Downloading https://asset-packagist.org/p/provider-latest/34547facb9e3710779c9d8107adfa7313d282862cc1c58f0d2a640c5a132eeb2.json
Content-Length mismatch, received 130816 out of 4000762 bytes:
Seeing this error every time I try to install or update Composer packages currently. I've cleared composer caches. Is there some kind of global TTL that we need to wait for? (I'm UK-based, if it makes a difference.)
@SilverFire what was the problem the last times?
Happens now again. https://asset-packagist.org/p/provider-latest/34547facb9e3710779c9d8107adfa7313d282862cc1c58f0d2a640c5a132eeb2.json is incomplete.
The additional storage was purchased but has not been mounted yet. The reboot is scheduled on this evening
Meanwhile, the problem is fixed manually again. Sorry, guys, I hope this evening reboot will be the last outage.
Thank you for the update :) I'll stay away from Composer today and update things tomorrow then!
Now we have a lot of free space.
I am experiencing the same problem today.
[Composer\Downloader\TransportException]
Content-Length mismatch, received 81664 bytes out of the expected 4075770
Same here, this issue has been hitting hard lately. For past week now.
[Composer\Downloader\TransportException]
Content-Length mismatch, received 98048 bytes out of the expected 4075770
No way...
139G ./git-github.com-DefinitelyTyped-DefinitelyTyped.git
I could not imagine such a huge repo could be cloned
Btw, here is a list of top repositories by size.
139G ./git-github.com-DefinitelyTyped-DefinitelyTyped.git
7.0G ./git-github.com-expo-expo.git
3.1G ./git-github.com-gatsbyjs-gatsby.git
2.9G ./git-github.com-Microsoft-TypeScript.git
1.1G ./git-github.com-mrdoob-three.js.git
925M ./git-github.com-twitter-bootstrap.git
818M ./git-github.com-oliver-moran-jimp.git
799M ./git-github.com-twitter-twemoji.git
702M ./git-github.com-storybookjs-storybook.git
617M ./git-github.com-telusdigital-tds.git
555M ./git-github.com-syncfusion-ej2-javascript-ui-controls.git
542M ./git-github.com-ianstormtaylor-slate.git
455M ./git-github.com-rse-typopro-web.git
448M ./git-github.com-ICIJ-node-tika.git
380M ./git-ssh---git-github.com-swagger-api-swagger-ui.git
374M ./git-github.com-tensorflow-tfjs-core.git
352M ./git-github.com-OfficeDev-office-ui-fabric-react.git
351M ./git-github.com-telus-tds-core.git
347M ./git-github.com-telusdigital-tds-core.git
297M ./git-github.com-cerner-terra-core.git
279M ./git-github.com-jupyterlab-jupyterlab.git
262M ./git-ssh---git-github.com-swagger-api-swagger-editor.git
260M ./git-github.com-transloadit-uppy.git
252M ./git-github.com-angular-angular.git
250M ./git-github.com-fex-team-webuploader.git
I have dropped the giant, so we have again a lot of free space. I also will consider purchasing additional 200GB to handle this mega-hyper-huge typescript repo.
I am very sorry this problem bothered you, guys :(
@SilverFire Thank you for such service, the system is back. Really appreciate all your hard work.
This problem appeared again today
[Composer\Downloader\TransportException]
Content-Length mismatch, received 32512 bytes out of the expected 5542180
Composer version 1.10.13 2020-09-09 11:46:34
This problem appeared again today
[Composer\Downloader\TransportException] Content-Length mismatch, received 32512 bytes out of the expected 5542180
Composer version 1.10.13 2020-09-09 11:46:34
The problem went away, worked without errors
I am experiencing the problem today :
18: transfer closed with 5563326 bytes remaining to read: https://asset-packagist.org/p/provider-latest/113b5794ba27dd6964794393fee2e43aea85f1004344aea715f35fa6708ce5f1.json
Finished: success: 0, skipped: 0, failure: 1, total: 1
In RemoteFilesystem.php line 345:
Content-Length mismatch, received 130816 bytes out of the expected 5694137
I am experiencing the problem today :
18: transfer closed with 5563326 bytes remaining to read: https://asset-packagist.org/p/provider-latest/113b5794ba27dd6964794393fee2e43aea85f1004344aea715f35fa6708ce5f1.json Finished: success: 0, skipped: 0, failure: 1, total: 1 In RemoteFilesystem.php line 345: Content-Length mismatch, received 130816 bytes out of the expected 5694137
Same error today
Please provide your
composer.json
if appropriate.When running
composer create-project --no-interaction acquia/blt-project project-name,
gettiing this error.
Content-Length mismatch, received 130816 bytes out of the expected 3999824
It looks like this file is getting cut off:
https://asset-packagist.org/p/provider-latest/32025501a5070bb135cc140c5bdfa3e3375bff8b839a7f6d5e3f52fb68bb32b1.json