Symantec Protection Engine with a custom connector returns an 500 Internal Server Error.
search cancel

Symantec Protection Engine with a custom connector returns an 500 Internal Server Error.

book

Article ID: 163758

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

Symantec Protection Engine with a custom connector returns an 500 Internal Server Error when using a filemod to scan files larger 2 GB.

The custom connector will use one of the following methods:

  • Java: createFileScanRequest
  • C++/C#: FileScanRequest

Cause

The 500 Internal Server Error is expected when the file scan request is for a file bigger than the maximum configured file size.  The Maximum file size can be between 2 and 30 GBs. This is set in the DecFileSize
 

Resolution

Known workarounds:

  • Increase the size of files that Protection Engine will attempt to scan.  See reference Article TECH205182. The below commands set the value to the maximum of 30 GB.
    • Command for Protection Engine  7.5 and 7.8: XMLModifier.exe -s /filtering/Container/DecFileSize/@value 30 filtering.xml
    • Command for Protection Engine  7.0 :java -jar xmlmodifier.jar -s /filtering/Container/DecFileSize/@value 30 filtering.xml
  • Trap the error in your code and handle per your file not scan policy
  • Limit files scan requests to file smaller than the DecFile Size setting.