Jump to content

Recommended Posts

Antipova Anna
Posted

Advice and Solutions (Forum Knowledgebase) Disclaimer. Read before using materials.

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

image.png.85e6ba5de86f881658023c66031b7704.png

Solution

Extend zip-archive file size limit from 1MB to 2MB:

  1. Become root:

    sudo su
  2. Open the file for modification:  /opt/kaspersky/apt-request-utils/lib/request_utils/zip_checker.py
  3. Find the line in the file:

    def verify_zip(file_to_check, files=(), max_size=(1024 * 1024))
  4. Change the max_size value to (1024 * 2048)

    def verify_zip(file_to_check, files=(), max_size=(1024 * 2048))
  5. Save the changes.
  6. Restart uwsgi:

    systemctl restart uwsgi
  7. Clear the browser cache, reload page and check if issue is now fixed.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...