Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2019 14:48:13 -0400
From:      Robert Fitzpatrick <robert@webtent.org>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Apache 2.4 timeout
Message-ID:  <2f19e4bc-73f3-7118-711b-67d537e4f389@webtent.org>
In-Reply-To: <9f6c499b-de53-9ae1-9c3d-326cb4e76e36@webtent.org>
References:  <9f6c499b-de53-9ae1-9c3d-326cb4e76e36@webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Fitzpatrick via freebsd-questions wrote on 4/14/2019 12:36 PM:
> The issue is the file upload give 'Unknown error' when uploading any 
> file that exceeds exactly 22 seconds. After I download the project demo, 
> I adjusted these settings in the demo app to allow a large mp4 video to 
> be uploaded...
> 
> acceptFileTypes: /(\.|\/)(gif|jpe?g|png|mp4)$/i,
> maxFileSize: 999000000,
> 
> My tested example was a mp4 video file just over 200MB in size and gives 
> the error after about 80% and exactly 22 seconds into the download. I 
> did find this 'RequestReadTimeout' setting in Apache and set higher 
> header and body settings:
> 
> <IfModule reqtimeout_module>
> #  RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
>    RequestReadTimeout header=60-120,MinRate=500 body=60,MinRate=500
> </IfModule>
> 
> But same result after an Apache restart. Can anyone suggest what is 
> needed to get this project working? I have downloaded the project to 
> another CentOS7 server where is works fine.
> 

Although changing the setting above did not work, disabling the 
reqtimeout module did. When enabled, with or without the settings in the 
extras/httpd-default.conf file, the larger files fail with the error.

I have confirmed with file system snapshots the module was enabled even 
before the issue existed according to users, after we had done the 
latest pkg update of apache24 from 2.4.33 to 2.3.39. A bug? Not sure how 
to downgrade apache24 to test.
-- 
Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f19e4bc-73f3-7118-711b-67d537e4f389>