Error "Unable to Read Source Object: Stream Size Limit Exceeded" Encountered When Using the Generate Security Hash Assertion

Document ID : KB000008791
Last Modified Date : 14/02/2018
Show Technical Document Details

The following error may present itself in the SSG logs and/or audit events, when passing attachments through the Generate Security Hash Assertion: 

Unable to read source object: Stream size limit exceeded: 2097152 bytes. Exception caught!


The default convert to binary maximum stream size limit is 2097152 bytes. The limit has been exceeded.


For the Generate Security Hash assertion to handle larger attachments the following system property must be changed, with the example below being for 5MB in size:

  1. Locate and open the following file in a text editor: /opt/SecureSpan/Gateway/node/default/etc/conf/
  2. Add (or modify) the following line to read as follows:
  3. Save and exit the file, then stop and restart the Gateway ("SSG") service: service ssg restart