imperva / incapsula-logs-downloader

A Python script for downloading log files from Incapsula
MIT License
30 stars 35 forks source link

SSL: CERTIFICATE_VERIFY_FAILED #17

Closed timbrigham closed 8 months ago

timbrigham commented 3 years ago

If the script is left running for extended periods, we start to receive the following.

... ERROR An error has occur while making a open connection to https://logs1.incapsula.com/..... [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877) .... ERROR Error while trying to download file .... INFO Sleeping for 5 seconds until next file download retry number 0 out of 3

Restarting either the service (or if running it by hand) clears this issue right up.

joeymoore commented 1 year ago

@timbrigham please let me know if this is still an issue. A new 3.0.0 release 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