UI Freeze on Attachment Download and maxPostSize Limit

WebViewer Version: 11.8.0

Issue 1: UI Freeze on Attachment Download
When viewing a PDF file with attachments in WebViewer, clicking on an attachment in the attachments panel results in a noticeable lag between the click and the file download. During this time, the UI is frozen and none of the buttons are responsive as shown below:(I have noticed a similar situation on your demo site as well)

download_attachment

Question:
Is there a way to reduce this UI freeze, or can we implement a loading indicator to improve user experience during attachment downloads?

Issue 2: maxPostSize Error

While inspecting the UI and Docker logs, the following error appears:

image

pdfd-tomcat-1 | 2025-12-11/06:35:40.473/UTC [http-nio2-0.0.0.0-8090-exec-7] ERROR AuxUpload - The multi-part request contained parameter data (excluding uploaded files) that exceeded the limit for maxPostSize set on the associated connector
pdfd-tomcat-1 | java.lang.IllegalStateException: The multi-part request contained parameter data (excluding uploaded files) that exceeded the limit for maxPostSize set on the associated connector

Question:
How can we increase the limit for maxPostSize to allow larger attachments or form data?

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.



Regarding your issues with WebViewer:

Some things you can try:

  • UI Freeze on Attachment Download: Implementing a loading indicator while the file is being processed can enhance user experience. You can listen for the attachment download event and display a loading spinner during this process. Consider optimizing the attachment handling process to reduce lag.

  • maxPostSize Error: To increase the limit for maxPostSize, you need to adjust the configuration of your server (Tomcat in this case). Modify the server.xml file in your Tomcat configuration to increase the maxPostSize attribute of the appropriate Connector element.




Here are some resources that might help you:



Hopefully, this helps you solve your problem while you wait for a human to get back to you.

Hello Zaid,

Thank you for contacting Apryse Forums.

Can you provide the sample file used in your gif?

Bes Regards,
Darian

1 Like

Since the file is greater than the limit allowed, i have shared a one drive link for the test file shown in gif :TestFile_with30mbAttachment.PDF

1 Like

Hello Zaid,

I’m not able to open that link, I sent you an invite to a Sharepoint folder where you can upload the file.

Best Regards,
Darian

1 Like

Hi Darian,

I have uploaded the file used in the GIF, along with similar files that have attachments larger than 30 MB, to the folder.

Please let me know if it’s possible to add a loader while the download is in progress. I don’t see any attachment-related events that could be used for this case.

Thanks,
Zaid

1 Like

Hello Zaid,

I think it’s expected that you can’t interact with the UI when the attachment is downloading. Unfortunately, I don’t think we have any events you can use here. I’ll submit a report to the product team about adding a loading screen for when we download file attachments.

Best Regards,
Darian

1 Like