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.