ICDm reports trigger Error Failed to download Report (error code 500)
search cancel

ICDm reports trigger Error Failed to download Report (error code 500)

book

Article ID: 246476

calendar_today

Updated On:

Products

Endpoint Security Complete

Issue/Introduction

When generating reports like Device Integrity Computer Status Report, you encounter the following error:

HAR (HTTP Archive) logs:
Line  98324:                 "functionName": "error",
Line  98830:             "text": "{\"url\":\"/report/reports\",\"api\":\"V2\",\"httpCode\":null,\"errorObj\":\"Failed to download Report (error code: 500)\"}"
Line  98830:             "text": "{\"url\":\"/report/reports\",\"api\":\"V2\",\"httpCode\":null,\"errorObj\":\"Failed to download Report (error code: 500)\"}"
Line  98916:           "_error": null

 

Cause

The HTTP client used in the SES console for backend call has the max memory size limit of 150 MB. This limit ensures that we do not encounter out of memory issues in the console. When the report size exceeded this limit, the associated customer request to retrieve the data was rejected by the client.

Resolution

To remove sized limit without negative side effect, Symantec changed the download in SES console to directly download the report from the Google Cloud Storage (GCS) bucket using pre-signed URL with time-limited access. The new flow avoids the http client path with the memory limit.

The report has been increased to 1 GB generation and download to our regression suite.

Additional Information

CRE-10966