Issue uploading large files to site protected by Secure Proxy Server
search cancel

Issue uploading large files to site protected by Secure Proxy Server


Article ID: 115175


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On


We got the following error for the SPS Proxy used in transferring a large file:

[07/12/2018][13:54:20][4004][5132][201e0a0f-eb03e732-3b16b37e-12f22427-4e63f7b3-782][Noodle::doGet][ Resetting to invalid mark at] 


Initially, CA suggested, in server.conf , to raise the size of the setting as follows.
maxcachedpostdata="1024" to the transferred file size; say : maxcachedpostdata="9024" for a test.

But that does not appear to have helped. 

Next. the recommended general tuning was followed per this KB article:

​But it didn't help.


Access Gateway - AG (a.k.a. Secure Proxy Sever - SPS) R12.7.2
Policy Server R12.7.2


The traditional approaches to find what is causing the SPS to file to not upload may not help after reviewing SPS logs and traces and trying to tune per CA's general guidelines.

In the situation (as it was discovered later in this particular case) where two machines (e.g. Windows-based) in the same sub-net differ in behavior for the large upload of files across SPS to the back end; e,g, one can upload large files, the other cannot and fails with an error (as above), the web.config in the  may be the difference. The problem may be unrelated to CA SSO components as in this instance.

Depending on which version of Windows, there might be some difference in the web.config construct. But, please search the Internet accordingly. Or, take assistance from Microsoft Support.

For example, in IIS/ASP.NET environment:

To increase the upload limit, one can add appropriate section to your web.config file and specify the limit. CA recommends consulting Microsoft Support when taking such action.

In the case of IIS 7.x and later, both Integrated and Classic mode:

      <requestLimits maxAllowedContentLength="<set_a_large_file_size_here" />

According to MSDNmaxAllowedContentLength has type uint, its maximum value is 4,294,967,295 bytes = 3,99 GB.


Optional uint attribute.

Specifies the maximum length of content in a request, in bytes.

The default value is 30000000.