Julien_Nitot

Tech Tip : CA Single Sign-On : Is there any limitation with CA Access gateway / SPS on Uploading/Downloading large files ?

Discussion created by Julien_Nitot Employee on Jan 12, 2017
Latest reply on Jan 13, 2017 by Jeff.Minder

Question

Is there any limitation with CA Access gateway / SPS on Uploading/Downloading large files ?

When trying to download large files, we are getting the following :

[Noodle.java][ERROR][sm-ProxyAgent-00100] Exception caught. Message is: Exception writing to response output stream : org.apache.http.ConnectionClosedException Premature end of Content-Length delimited message body (expected: xxxx ; received: xxxx

 

SPS does not start to download the file, it fails during at the beginning of the transfer.

Answer

At the beginning of the transfer, we are doing an internal check to compare the entity.getContentLength and Integer.MAX_VALUE

 

>> Integer.MAX_VALUE = 2147483647 = 2 G

 

Checking with fiddler traces, we were able to get the entity.ContentLength header : Content-Length: xxxx 

 

So, SPS is not able to GET/POST files that are more than 2Gb length. 

 

KD : TEC1201607

 

Outcomes