mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Adding a troubleshooting section
This commit is contained in:
11
README.md
11
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
|
$ 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user