Error: mod_fcgid: can't get data from http client

3 posts / 0 new
Last post
#1 Wed, 03/23/2016 - 00:32
DonX

Error: mod_fcgid: can't get data from http client

Hello there,

I am getting the following error whenever I try to upload a large file of about the size of 40mb on a wireless connection either via connected to wifi or phone signal. On a hardwired ethernet connection, the upload works all the time but only on wifi/phone signal (because slower upload times) I get this error:

(70008)Partial results are valid but processing is incomplete: mod_fcgid: can't get data from http client.

Sometimes it works (on wifi) but most of the time it does not and I get the above error. I have increased all the PHP values in the php.ini to allow big upload files etc. I even tweaked (added) some of the fcgid values in fcgid.conf and even the virtual host directive for the site and I still get the error. Also increased apache request times as well. Again, sometimes it works, but most of the time no.

I have ran out of ideas and I hope someone can provide some suggestions. The site I am working on has to allow video uploads to about 50mb in size max. It is important for mobile users who are connected to wifi or their carrier signal to be able to upload the video files to the site which is managed by virtualmin. (Webmin manages server).

I greatly appreciate it. Thank you!

Wed, 03/23/2016 - 04:07
7stars

I think that's a combination of FcgidMaxRequestLen and some timeout...

and also your wifi could be unstable... and losing connection

Wed, 03/23/2016 - 18:55
DonX

This is fcgid setting in the virtual host directive:

IPCCommTimeout 9999

FcgidMaxRequestLen 1073741824

Should be sufficient enough even though I still get the error.

Edit: After some testing, it appears it could be from the device I am using and the type of connection I am using. For example. when on wifi on a laptop or/and computer, it works all the time no problem; no errors. Same when connected ethernet. When on phone wifi though, sometimes it works, sometimes no. Strange. Testing was done on same wifi network and it works when connected to wifi on laptop/computer, so I don't think its the actual wifi connection but more of the device I am using which would mobile phone using wifi connection.

After some further testing, it appears that it's most likely due to the mobile phone going to sleep after a certain about of seconds/minutes while waiting for the upload. When I go into the phone settings and set the phone to never turn off/go to sleep, uploads work all the time on wifi using phone.

So basically I can conclude that the server settings to allow big file uploads are correct and basically that this topic is solved... Well.. for now. :)

Topic locked