You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is this change being made?
Currently when someone logs in with skip_tls=True you will receive a warning like this
warnings.warn(
/opt/app-root/lib64/python3.8/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host <HOST>. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
This is fine you should be warned at least once but every other action such as cluster.up() will produce this warning.
Running cluster.wait_ready() will result in your console output being flooded with this warning while waiting for the cluster to be ready.
WHAT
What is being asked for?
We should only allow this warning to show upon logging in.
HOW
Suggestions for how this may be solved. [Optional]
We can pass urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) just before the successful login message
TESTS
List of related tests
DONE
Bullet point items for what should be completed
The text was updated successfully, but these errors were encountered:
Bobbins228
changed the title
Suppress insecure request warnings when setting skip_tls_verify to True
Suppress insecure request warnings when setting skip_tls to True
Aug 22, 2023
WHY
Why is this change being made?
Currently when someone logs in with
skip_tls=True
you will receive a warning like thisThis is fine you should be warned at least once but every other action such as
cluster.up()
will produce this warning.Running
cluster.wait_ready()
will result in your console output being flooded with this warning while waiting for the cluster to be ready.WHAT
What is being asked for?
We should only allow this warning to show upon logging in.
HOW
Suggestions for how this may be solved. [Optional]
We can pass
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
just before the successful login messageTESTS
List of related tests
DONE
Bullet point items for what should be completed
The text was updated successfully, but these errors were encountered: