Adding a troubleshooting section

This commit is contained in:
Mitsuo Takaki
2019-10-30 08:03:43 -07:00
parent b3e4000cc1
commit 9a73063a6f

View File

@@ -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 $ 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.