Error after 20 seconds of uploading file

Started by vifsolano, September 17, 2020, 10:27:09 PM

Previous topic - Next topic

vifsolano

Hi, thanks for the help in advance, I have 3 servers with CWP, everything works fine, the problem is when uploading files by web or mail, after 20 or 25 seconds it shows a connection error to the server or error 500, if not that time arrives, it loads it without problems.

max_execution_time = 600
upload_max_filesize = 128M
memory_limit = 128M
post_max_size = 128M

Thank you very much

studio4host

http://wiki.centos-webpanel.com/big-file-upload-via-file-manager

you need to set as by instructions depending on the webservers and php you use....this can be multiple locations but all locations are on the wiki
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

emerysteele

Just finished fixing this issue on my server. No matter what I did to any of my php.ini config files, seemed to always time out after about 20 seconds.

Turned out to be an Apache module called reqtimeout.

Go to: WebServer Settings > WebServers Conf Editor
And edit the httpd.conf
Find the line: LoadModule reqtimeout_module modules/mod_reqtimeout.so & add a '#' in front so it reads: #LoadModule reqtimeout_module modules/mod_reqtimeout.so
Then reboot Apache from the dashboard.

cfzlabs

Same issue,

This was the solution, i do not like it though - would like to understand why that is happening.