Jump to content

KWTS: Error with downloading a large trace log [Kaspersky Web Traffic Security]


Recommended Posts

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

Description

After generating a trace log and then attempting to download it via the KWTS 6.1 web interface, it fails with an error if the trace log is more than 1GB (one gigabyte).

The error is duplicated on different devices in different browsers: Mozilla, Chrome, Edge.

  • In Mozilla, the download stops with "Failed to download file"
  • Chrome goes into an endless download attempt, the download is interrupted at 1GB, after which the speed drops to 0kb/s and the download starts all over again.

How to solve

To resolve the problem with downloading a large trace log, follow this procedure:

1) Connect to the Kaspersky Web Traffic Security node via SSH to access the technical support mode. If SSH access has not been previously configured, you must first log into the web interface as a local administrator and configure access by uploading the SSH public key.

2) Go to the /etc/nginx/conf.d directory, make a backup copy of the kwts_webapi.conf and kwts_controlapi.conf files if you have not done so before:

cd /etc/nginx/conf.d
cp -p kwts_webapi.conf kwts_webapi.conf.backup
cp -p kwts_controlapi.conf kwts_controlapi.conf.backup

3) Open the /etc/nginx/conf.d/kwts_webapi.conf file for editing and add the line marked below in green to the location /web/api block:

location /web/api {
    ...
    uwsgi_max_temp_file_size 0;
    include uwsgi_params; 
    ...

}

4) Open the /etc/nginx/conf.d/kwts_controlapi.conf file for editing and add the line marked below in green to the location /ctl/v1 block:

location /ctl/v1 {
    ...
    uwsgi_max_temp_file_size 0;
    include uwsgi_params;
}

5) Restart nginx using the command

systemctl restart nginx

6) Check the status of the nginx service, it should be running.

systemctl status nginx

The described steps must be repeated on each node of the Kaspersky Web Traffic Security cluster.

After completing the procedure, restart your web browser and reconnect to the Kaspersky Web Traffic Security 6.1 web interface.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...