Skip to main content

We are trying to attach files in assystNET and it will not attach.  In the system parameters I have it max file upload to 50MB and this file is 11KB.  I can upload it in assystWEB but not in assystNET.  Is there an area in system parameters that I can change the upload file size?

 

I logged the test ticket and tried to attach it with assyst Update and it gave this error:

 

 

Hello,

 

Can we verify the max-post-size setting in the standalone-full.xml file?
If this value is smaller than the size of the attachment, the upload will fail.


Hi, ​@Oshadi C  where do I find the standalone-full.xml file?


Hi ​@CHRISTALM ,

I’ve been following this post as I’ve been wondering how to make changes to upload size settings myself. I’m assuming the file being referred to is the following:

{serverhome}\standalone\configuration\standalone-full.xml

To add some context: 

The only entry of max-post-size I’ve found in this standalone-full.xml is under  <subsystem xmlns="urn:jboss:domain:undertow:14.0" default-security-domain="other" default-server="default-server"… and max post size is for us set to max-post-size=”31457280” which equals 30 MB.

 

The full excerpt from standalone-full.xml that reference max-post-size: 

<server name="default-server">
<https-listener max-header-size="65535" max-parameters="5000" max-post-size="31457280" name="https" socket-binding="https" ssl-context="assystSSLContext" url-charset="UTF-8"/>
<http-listener max-header-size="65535" max-parameters="5000" max-post-size="31457280" name="default" redirect-socket="https" socket-binding="http" url-charset="UTF-8"/>
<host alias="localhost" name="default-host">
<http-invoker http-authentication-factory="application-http-authentication"/>
<filter-ref name="gzipFilter" predicate="exists('%{o,Content-Type}') and regex(pattern='(?:application/javascript|text/css|text/html|text/xml|application/json|application/xml)(;.*)?', value=%{o,Content-Type}, full-match=true)"/>
<filter-ref name="Vary-header"/>
</host>
</server>

However, I’m uncertain whether this is the setting ​@Oshadi C is referring to, or what potential implications or considerations should be taken into account when increasing this value.

 


To clarify my previous post

This could very much be the solution you’re looking for ​@CHRISTALM, but i’m not a 100% sure as I’m confused as to why the set limit is not always the experienced one in the Self-Service Portal. See below.

 

Howver you should be able to change the upload limit to a larger value using a combination of the system parameter and max-post-sizein standalone-full.xml.

If the max-post-size is ok, check the value entered in the system parameter, and verify there is no space between the number and character.

Assyst portal vs Self-Service Portal

In my experience you “lose” about 30% of the available space as set in the system parameter when trying to upload in the Self-Service Portal, causing file to large errors during uploads even when well wihin the limits. 

Changing max-post-size=”31457280” (30 MB) to max-post-size=”104857600” to (100 MB) alongside setting webFrontEnd/FileUploadMaxSize to 100M  allows for mp4 or zip files of about 73 MB to be uploaded. While files above this give the “file limit” error. Uploads by IT Users in the Assyst portal are however not similarly affected, and are able to upload these files up to the size set in the system parameter. 


@Richard Ellingsen Yes, absolutely! This is just what I needed to check.


Thank you ​@Richard Ellingsen - this fixed our issue 😁


Reply