Closed mcvic1rj closed 7 months ago
@mcvic1rj please let me know if this is still and issue. I would recommend upgrading to the new 3.0.0 release that is available and resolves a lot of known issues. Please review the readme if planning to upgrade. https://github.com/imperva/incapsula-logs-downloader/tree/release-3.0.0-beta
Per the Log download documentation
The logic in the script will retry with the last downloaded +2 (via
skip_files
), but there are times when the logs are skipping multiple integers, which causes this script to go into an endless loop.An example excerpt from our index file:
Suggested possible fix, add another catch that will determine if we are taking too long and look at the array position of the last downloaded file and move 1 position forward