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
Using this in HomeAssistant to track devices.
Despite setting to false both ssl and verify_ssl, the urllib3 still issues (and fills logs with) the error InsecureRequestWarning
What I Did
de-indented, by one level, lines 48-51 in openwrt_luci_rpc.py
Because of the indentation level of lines 48-51, they are only run when ssl is true, however, the library issues the warning even though it was told to use no SSL. Therefore the warning needs to be disabled whenever verify_ssl is set to false, regardless of the setting of ssl.
The text was updated successfully, but these errors were encountered:
Description
Using this in HomeAssistant to track devices.
Despite setting to false both
ssl
andverify_ssl
, the urllib3 still issues (and fills logs with) the errorInsecureRequestWarning
What I Did
Because of the indentation level of lines 48-51, they are only run when
ssl
is true, however, the library issues the warning even though it was told to use no SSL. Therefore the warning needs to be disabled wheneververify_ssl
is set to false, regardless of the setting ofssl
.The text was updated successfully, but these errors were encountered: