travisghansen / hass-opnsense

OPNsense integration with Home Assistant
214 stars 29 forks source link

setting up OPNsense in HA is giving "Unknown Error" #140

Closed bobloadmire closed 4 months ago

bobloadmire commented 4 months ago

logs below,

2024-06-08 07:32:13.915 ERROR (MainThread) [homeassistant.components.light] Platform alexa_media does not generate unique IDs. ID e46b60ea-2bb3-4634-af0d-157c072244ca already exists - ignoring light.back
2024-06-08 07:32:13.915 ERROR (MainThread) [homeassistant.components.light] Platform alexa_media does not generate unique IDs. ID e46b60ea-2bb3-4634-af0d-157c072244ca already exists - ignoring light.back
2024-06-08 07:32:13.915 ERROR (MainThread) [homeassistant.components.light] Platform alexa_media does not generate unique IDs. ID e46b60ea-2bb3-4634-af0d-157c072244ca already exists - ignoring light.back
2024-06-08 07:32:13.932 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-06-08 07:32:44.338 WARNING (SyncWorker_3) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:32:44.369 WARNING (SyncWorker_12) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:32:46.141 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:498: SyntaxWarning: invalid escape sequence '\O'
script = """
2024-06-08 07:32:46.141 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:782: SyntaxWarning: invalid escape sequence '\C'
script = """
2024-06-08 07:32:46.141 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:801: SyntaxWarning: invalid escape sequence '\C'
script = """
2024-06-08 07:32:46.141 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:857: SyntaxWarning: invalid escape sequence '\D'
script = """
2024-06-08 07:32:46.141 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:1046: SyntaxWarning: invalid escape sequence '\O'
script = """
2024-06-08 07:32:46.142 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:1072: SyntaxWarning: invalid escape sequence '\O'
script = """
2024-06-08 07:32:46.142 WARNING (ImportExecutor_0) [py.warnings] /config/custom_components/opnsense/pyopnsense/__init__.py:1145: SyntaxWarning: invalid escape sequence '\O'
script = """
2024-06-08 07:33:20.066 ERROR (SyncWorker_23) [custom_components.opnsense.pyopnsense] Unexpected get_system_info error err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:20.066 ERROR (MainThread) [custom_components.opnsense.config_flow] Unexpected err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:24.504 ERROR (SyncWorker_26) [custom_components.opnsense.pyopnsense] Unexpected get_system_info error err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:24.504 ERROR (MainThread) [custom_components.opnsense.config_flow] Unexpected err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:41.894 ERROR (SyncWorker_28) [custom_components.opnsense.pyopnsense] Unexpected get_system_info error err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:41.895 ERROR (MainThread) [custom_components.opnsense.config_flow] Unexpected err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:33:44.338 WARNING (SyncWorker_1) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:33:44.369 WARNING (SyncWorker_9) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:34:44.338 WARNING (SyncWorker_1) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:34:44.370 WARNING (SyncWorker_26) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:34:57.369 ERROR (SyncWorker_5) [custom_components.opnsense.pyopnsense] Unexpected get_system_info error err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:34:57.369 ERROR (MainThread) [custom_components.opnsense.config_flow] Unexpected err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
2024-06-08 07:35:44.339 WARNING (SyncWorker_23) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
2024-06-08 07:35:44.370 WARNING (SyncWorker_32) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.0.3'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
bobloadmire commented 4 months ago

i have reinstalled plugins on both OPN and HA. my OPN instance is running HTTP locally if it makes a difference. unchecked SSL.