diff --git a/README.md b/README.md index a5dde08..fe6d5d5 100644 --- a/README.md +++ b/README.md @@ -114,3 +114,14 @@ If you're going to use a file with a name other than `config.yml`, you will need ``` $ docker run --rm -it -v "$PWD"/my_config.yml:/usr/src/app/config/config.yml:ro mtakaki/cachet-url-monitor ``` + +## Troubleshooting + +### SSLERROR +If it's throwing the following exception: +``` +raise SSLError(e, request=request) +requests.exceptions.SSLError: HTTPSConnectionPool(host='redacted', port=443): Max retries exceeded with url: /api/v1/components/19 (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)) +``` + +It can be resolved by seting the CA bundle environment variable `REQUESTS_CA_BUNDLE` pointing at your certificate file. It can either be set in your python environment, before running this tool, or in your docker container.