search cancel

Error when uploading Custom Exception file to ProxySG "Input line exceeds maximum length of 8192 bytes"


Article ID: 174041


Updated On:


Advanced Secure Gateway Software - ASG ProxySG Software - SGOS


User attempts to upload a file containing Custom Exception pages.

Proxy Management Console > Configuration > Policy > Exceptions > Install Exceptions Definitions from Local File

% Load failed with error(s)

Exceptions installation
Compiling new configuration file: /legacy/cache_engine/persistent/replicated/volatile//config/v9/exceptions.txt
Mon, 11 Mar 2019 14:33:01 UTC
Error: Exceptions.24: input line exceeds maximum length of 8192 bytes
There was 1 error and 0 warnings


Tested in and earlier.


There is a hard limit of 8192 bytes to a Custom Exception HTML code block.


There are two options to solve this issue:

  1. Reduce the size of the Custom Exception HTML code block to less than 8192 bytes
  2. Use a redirect in the Custom Exception to a web page located on another server
    • The redirected page can exceed 8192 bytes