[opencms-dev] Upload of files larger than 15kb not possible
Jan Michael Greiner
jan0michael at yahoo.com
Tue Dec 28 14:10:54 CET 2021
Dear all,
trying again to put the external server name in the configuration as the server URL was a good idea (strange, I think a have tried this more than once before...).
Now the upload of larger files works.
(The question remains, why https is replaced by http, when opening the Website configuration a second time...)
Best regards,
Jan Michael Greiner
On Tuesday, December 28, 2021, 01:33:50 PM GMT+1, Jan Michael Greiner <jan0michael at yahoo.com> wrote:
Dear all,
it somehow has to do with the fact, that OpenCms is installed behind a reverse proxy (Tomcat with https://github.com/mitre/HTTP-Proxy-Servlet ).
If I do a port tunnel directly to the real server, and access the site with the real server's name, upload of larger files is possible.
What do I have to configure in the Websites configuration?
At the moment I have there the internal server's name. It seems not to work, if I put there the external servers name, but I will try again.
The external and the internal server are only accessible over TLS. But if I put https in the Websites configuration (Basic setup -> Server URL), when I open the dialog the next time, the https is replaced by http. Why is that?
Best regards,
Jan Michael Greiner
On Monday, December 27, 2021, 05:29:10 PM GMT+1, Jan Michael Greiner <jan0michael at yahoo.com> wrote:
Dear all,
I have a strange behavior in my OpenCms 12 installation (Tomcat 9, jdk 11).
When I try to upload a file (click on Cloud with arrow in explorer view) larger than 15kb, the upload is stuck for some time, and then I get a dialog
Error
! No new data received after 20 seconds.
Stack trace
No new data received after 20 seconds.
org.opencms.ade.upload.CmsUploadException: No new data received after 20 seconds.
at org.opencms.ade.upload.CmsUploadTimeoutWatcher.run(CmsUploadTimeoutWatcher.java:100)
at org.opencms.ade.upload.CmsUploadTimeoutWatcher.run(CmsUploadTimeoutWatcher.java:104)
at org.opencms.ade.upload.CmsUploadTimeoutWatcher.run(CmsUploadTimeoutWatcher.java:104)
at org.opencms.ade.upload.CmsUploadTimeoutWatcher.run(CmsUploadTimeoutWatcher.java:104)
at org.opencms.ade.upload.CmsUploadTimeoutWatcher.run(CmsUploadTimeoutWatcher.java:104)
Attached are opencms.log and in catalina.log.
Does someone have an idea, why is that?
Uploading smaller files is no problem.
The problem happens with Firefox and Chromium.
Best regards,
Jan Michael Greiner
More information about the opencms-dev
mailing list