You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by OIT Nua <nu...@virginia.edu> on 2020/04/21 17:37:30 UTC
Large file uploads via https fail on Tomcat 9
I have a Tomcat application that accepts file uploads via https. I have had no problems with file uploads and https in Tomcat versions 7 and 8. Now that we've ported to Tomcat 9, file uploads larger than approx. 173KB just hang and never complete (in fact, they seem from the Tomcat side to never start; from the user side, it looks like the upload is progressing, but it just hangs and never completes). Small (<173KB) files upload via https fine.
I have adjusted various settings, including disableUPloadTimeout, connectionUploadTimeout, maxFileSize, etc., with nothing helping. The hang always happens with files > 173KB and if I use https protocol. If I revert to http protocol (still on Tomcat 9) everything works as it should (large files upload fine); switching back to https, they fail (hang).
Anyone have any thoughts?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Large file uploads via https fail on Tomcat 9
Posted by Manuel Dominguez Sarmiento <ma...@renxo.com>.
Glad that helped!*
Manuel Dominguez Sarmiento*
On 24/04/2020 06:42, OIT Nua wrote:
> Thanks, again, for the assistance. Upgrading to 9.0.34 has resolved the issue.
>
RE: Large file uploads via https fail on Tomcat 9
Posted by OIT Nua <nu...@virginia.edu>.
Thanks, again, for the assistance. Upgrading to 9.0.34 has resolved the issue.
Re: Large file uploads via https fail on Tomcat 9
Posted by Manuel Dominguez Sarmiento <ma...@renxo.com>.
See the following thread:
http://tomcat.10.x6.nabble.com/Uploads-breaking-post-upgrade-to-9-0-31-td5096655.html
And this bug report:
https://bz.apache.org/bugzilla/show_bug.cgi?id=64202
It looks as if upgrading to 9.0.34 should resolve this.
On 21/04/2020 14:55, OIT Nua wrote:
> Thanks for responding. We are Tomcat version 9.0.31, running on Windows 2012 R2 Standard.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Large file uploads via https fail on Tomcat 9
Posted by OIT Nua <nu...@virginia.edu>.
Thanks for responding. We are Tomcat version 9.0.31, running on Windows 2012 R2 Standard.
Re: Large file uploads via https fail on Tomcat 9
Posted by Manuel Dominguez Sarmiento <ma...@renxo.com>.
What version/build are you using? I believe the was a recent bug that
has been already resolved regarding this on HTTPS.
> I have a Tomcat application that accepts file uploads via https. I have had no problems with file uploads and https in Tomcat versions 7 and 8. Now that we've ported to Tomcat 9, file uploads larger than approx. 173KB just hang and never complete (in fact, they seem from the Tomcat side to never start; from the user side, it looks like the upload is progressing, but it just hangs and never completes). Small (<173KB) files upload via https fine.
>
> I have adjusted various settings, including disableUPloadTimeout, connectionUploadTimeout, maxFileSize, etc., with nothing helping. The hang always happens with files > 173KB and if I use https protocol. If I revert to http protocol (still on Tomcat 9) everything works as it should (large files upload fine); switching back to https, they fail (hang).
>
> Anyone have any thoughts?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org