hiqdev / asset-packagist

Asset Packagist
https://asset-packagist.org
BSD 3-Clause "New" or "Revised" License
247 stars 24 forks source link

Content-Length mismatch #126

Closed eelkeblok closed 3 years ago

eelkeblok commented 3 years ago

Since #125 is closed, I am reposting this as a new issue hoping that it will get more attention this way, since this is an active blocker for our development process. I hope this is OK.

hiqsol commented 3 years ago

This gets attention! We're debugging it.

amjad1233 commented 3 years ago

I am having the same issue. transfer closed with 5764865 bytes remaining to read: https://asset-packagist.org/p/provider-latest/a55259bba0c46c3ed35b9c48b8b2b0a4865578f481fcce39aad3b0fdd2a749a6.json

schmunk42 commented 3 years ago

Same here

Downloading https://asset-packagist.org/p/provider-latest/a55259bba0c46c3ed35b9c48b8b2b0a4865578f481fcce39aad3b0fdd2a749a6.json
Content-Length mismatch, received 98048 out of 5830140 bytes: (eyJwcm92aWR.....
  [Composer\Downloader\TransportException]                                   
  Content-Length mismatch, received 98048 bytes out of the expected 5830140  

Could you try to regenerate the json file?

jessegrunert commented 3 years ago

Same here, getting this error for a couple of days now!

Krakozaber commented 3 years ago

composer update Loading composer repositories with package information Updating dependencies (including require-dev)

In RemoteFilesystem.php line 345:

Content-Length mismatch, received 32512 bytes out of the expected 5830140

hiqsol commented 3 years ago

Could you try to regenerate the json file?

We've run out of disk storage. Moving to other server.

schmunk42 commented 3 years ago

Temporary workaround in composer.json, installs into the same location as AP

    "config": {
        "fxp-asset": {
            "enabled": true,
            "installer-paths": {
                "npm-asset-library": "vendor/npm-asset",
                "bower-asset-library": "vendor/bower-asset"
            },
            "vcs-driver-options": {
                "github-no-api": true
            },
            "git-skip-update": "2 days",
            "pattern-skip-version": "(-build|-patch)",
            "optimize-with-installed-packages": false
        }
    }
SilverFire commented 3 years ago

We've moved to a new server. Some packages might be outdated for a while, update queue is rolling