Connectivity: Silence " InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'."
Open
- Dominant language
- Python
- Stars
- 10
- Forks
- 5
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 7
Description
When connecting to a cluster eg. via port-forwarding where the SQL Alchemy URI is set like this: `export CRATEDB_SQLALCHEMY_URL=crate://crate@localhost:4200/?sslmode=require`, the output is full with:
```text
.venv/lib/python3.12/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
```
In case there is an easy way to silence this, or print it only once ... TY!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.