[users@httpd] Re: Request Entity Too Large
Hi Yehuda, Am I looking at catalina.out for the 413 error, or some other log on the Tomcat server? Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064
Re: [users@httpd] Re: Request Entity Too Large
I am not familiar enough with Tomcat to say for sure. It might also depend on your application. - Y On Fri, Jul 24, 2015 at 10:55 AM, Cohen, Laurence lco...@novetta.com wrote: Hi Yehuda, Am I looking at catalina.out for the 413 error, or some other log on the Tomcat server? Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064
[users@httpd] Re: Request Entity Too Large
It seems that the problem I'm having started when we went to mod_nss from mod_ssl. In ssl.conf we were able to set the sslrenegbuffersize to a high number. I can't seem to find an equivalent to the parameter that will work in any of our conf files. The httpd.conf is including rewrite.conf and nss.conf, but if I put the sslrenegbuffersize in any of these files and restart httpd, it doesn't start up. Would anyone know what the equivalent parameter is in nss.conf, or the other conf files that we are using? Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064
Re: [users@httpd] Re: Request Entity Too Large
Thanks Yehuda. On Fri, Jul 24, 2015 at 2:55 PM, Yehuda Katz yeh...@ymkatz.net wrote: If you are sure the problem is with nss, you will probably get more help on their mailing list: https://www.redhat.com/mailman/listinfo/mod_nss-list - Y On Fri, Jul 24, 2015 at 1:22 PM, Cohen, Laurence lco...@novetta.com wrote: It seems that the problem I'm having started when we went to mod_nss from mod_ssl. In ssl.conf we were able to set the sslrenegbuffersize to a high number. I can't seem to find an equivalent to the parameter that will work in any of our conf files. The httpd.conf is including rewrite.conf and nss.conf, but if I put the sslrenegbuffersize in any of these files and restart httpd, it doesn't start up. Would anyone know what the equivalent parameter is in nss.conf, or the other conf files that we are using? Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064 -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064
Re: [users@httpd] Re: Request Entity Too Large
If you are sure the problem is with nss, you will probably get more help on their mailing list: https://www.redhat.com/mailman/listinfo/mod_nss-list - Y On Fri, Jul 24, 2015 at 1:22 PM, Cohen, Laurence lco...@novetta.com wrote: It seems that the problem I'm having started when we went to mod_nss from mod_ssl. In ssl.conf we were able to set the sslrenegbuffersize to a high number. I can't seem to find an equivalent to the parameter that will work in any of our conf files. The httpd.conf is including rewrite.conf and nss.conf, but if I put the sslrenegbuffersize in any of these files and restart httpd, it doesn't start up. Would anyone know what the equivalent parameter is in nss.conf, or the other conf files that we are using? Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064
[users@httpd] Re: Request Entity Too Large
Forgot to mention. The httpd error code is 413. Thanks, Larry Cohen On Thu, Jul 23, 2015 at 5:04 PM, Cohen, Laurence lco...@novetta.com wrote: Hi everyone, We are suddenly having the following problem on several of our servers, and I have not been able to find a solution on the internet that has resolved it. Our configuration is the following. Apache httpd 2.2.3 running on RHEL5 Tomcat 7, also running on RHEL5 When we try to upload a file bigger than a few megabytes, we get the following error: The requested resource /dse/submissions/100103040/add_file does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit I've tried to figure out what the maximum size file is, but the problem will occur on a file, and then we try the same file a few minutes later and it works. I tried setting LimitRequestBody to 0, which I believe is the default anyway, but it had no effect either way. If anyone has any ideas, please let me know. Thanks, Larry Cohen -- [image: www.novetta.com] Larry Cohen System Administrator 12021 Sunset Hills Road, Suite 400 Reston, VA 20190 Email lco...@novetta.com Office 703-885-1064