MDR Integration: Error "Content size exceeds limit 1048576" [KATA/KEDRE]
Problem
This error appears when newest MDR Configuration files that are above 1MB in size are uploaded into KATA WebUI following the integration scenario either to establish the integration or to replace the outdated config:
https://support.kaspersky.com/KATA/3.7.2/en-US/201839.htm
Solution
Extend zip-archive file size limit from 1MB to 2MB:
-
Become root:
sudo su
-
Open the file for modification:
/opt/kaspersky/apt-request-utils/lib/request_utils/zip_checker.py
-
Find the line in the file:
def verify_zip(file_to_check, files=(), max_size=(
1024
*
1024
))
-
Change the max_size value to (1024 * 2048)
def verify_zip(file_to_check, files=(), max_size=(
1024
*
2048
))
- Save the changes.
-
Restart uwsgi:
systemctl restart uwsgi
- Clear the browser cache, reload page and check if issue is now fixed.
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now