-
-
Notifications
You must be signed in to change notification settings - Fork 645
Failing 'Generate Drupal project with composer package' - Content-Length mismatch #941
Comments
Having an issue in a similar block of the composer install:
Different file to the OP, but always stops at 85%. I can load this .htaccess file in my browser with no issue. I'm pretty new to using composer, is there a way to dig deeper into why it's getting a mismatch on the file size? I've also tried the following over ssh:
Host system: config.yml is unchanged from the default except for shared folder mapping details. |
For the record, earlier it did once fail for me on the (Edit: also, I've added debugging to the Vagrantfile to verify the playbook is running on the host rather than the guest, i.e. |
Is this still happening? It seems like it might be something temporary, but I haven't had a chance to do some testing today. You are using the default config with 8.x and it's failing there, correct? |
Also, it might help to use Vagrant 1.8.5... there have been a number of small/weird issues with 1.8.6 and I haven't fully tested with 1.8.6 myself yet. |
@geerlingguy yes, still happening. I rolled back to Vagrant 1.8.5 and tested the default 8.x config again. |
I've rebuilt the VM on three separate machines today (two Macs, Sierra 10.12 and 10.12.1, and Win 10), with Vagrant 1.8.5 and 1.8.6, and can't replicate the issue. If you try again today, is it still happening? This sounds like a network/routing issue... |
Just tested now, still failing. (however I will attempt it shortly on a different Mac and update you.) |
I'm thinking this may be a server problem. I've opened an issue in the Drupal Infrastructure queue and I've written this PHP test script which loops through the various files. |
@geerlingguy see my latest comment on drupal.org (could it be anything to do with your vagrant_box?) |
For reference (from the drupal.org issue queue):
|
Woot, glad 5.1.10 is working! Finally fixed the networking bug that cropped up in 5.1.8. |
I'm going to optimistically close this out, and redirect people still having issues to #981, and to make sure they have VirtualBox 5.1.10. |
@kmcgill88 can also confirm it works with Vagrant 1.8.7 and VirtualBox 5.1.10 (macOS 10.11.6) |
@geerlingguy @wturrell for me worked on Vagrant 1.8.7 with Virtual Box 5.1.10 (macOS 10.12.1) |
It seems to choke on a specific download from http://cgit.drupalcode.org:
http://cgit.drupalcode.org/drupal/plain/sites/default/default.services.yml?h=8.2.1
However I can
wget
that file and it looks OK, if that's where the error is. I don't see anything immediately "wrong" with thecomposer.json
/installed.json
files mentioned afterwards.As a massive block of JSON is hard to read I logged into the VM with vagrant ssh and ran the command by hand…
All the packages symphony, drupal, phpunit etc. are then installed from the cache
This next bit was run with -vvv on (i.e. maximum verbosity so you can tell what files it's downloading…
NB: sometimes I get a different percentage, e.g. 55%.
Host system:
The text was updated successfully, but these errors were encountered: