We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot setup the integration on home assistant is always says setup failed truenas disconnected
Setup
TrueNAS URL: https://10.20.20.3:9443 Home Assistant URL: http://10.20.20.3:8123/
This error originated from a custom integration.
Logger: custom_components.truenas.api Source: custom_components/truenas/api.py:117 integration: TrueNAS (documentation, issues) First occurred: 8:48:16 PM (8 occurrences) Last logged: 8:53:55 PM TrueNAS 10.20.20.3:9443 unable to fetch data "update/check_available" (no_response)
2024-12-21 20:59:15.519 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: system/info, get, {} 2024-12-21 20:59:15.575 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query response: {'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'Not Specified', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True} 2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing source [{'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'REDACTED', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True}] 2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing entry {'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'REDACTED', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True} 2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: interface, get, {} 2024-12-21 20:59:15.681 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query response: [{'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None}] 2024-12-21 20:59:15.683 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing source [{'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None}] 2024-12-21 20:59:15.683 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing entry {'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None} 2024-12-21 20:59:15.684 DEBUG (SyncWorker_1) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: reporting/netdata_get_data, post, {'graphs': [{'name': 'load'}, {'name': 'cpu'}, {'name': 'arcsize'}, {'name': 'memory'}, {'name': 'interface', 'identifier': 'enp6s18'}], 'reporting_query': {'start': '-90', 'end': '-30', 'aggregate': True}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the issue
I cannot setup the integration on home assistant is always says setup failed truenas disconnected
How to reproduce the issue
Setup
Expected behavior
Screenshots
Software versions
Diagnostics data
TrueNAS URL: https://10.20.20.3:9443
Home Assistant URL: http://10.20.20.3:8123/
Traceback/Error logs
This error originated from a custom integration.
Logger: custom_components.truenas.api
Source: custom_components/truenas/api.py:117
integration: TrueNAS (documentation, issues)
First occurred: 8:48:16 PM (8 occurrences)
Last logged: 8:53:55 PM
TrueNAS 10.20.20.3:9443 unable to fetch data "update/check_available" (no_response)
Additional context
2024-12-21 20:59:15.519 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: system/info, get, {}
2024-12-21 20:59:15.575 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query response: {'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'Not Specified', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True}
2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing source [{'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'REDACTED', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True}]
2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing entry {'version': 'TrueNAS-SCALE-24.10.1', 'buildtime': {'$date': 1734398159000}, 'hostname': 'TrueNAS-Dell5040', 'physmem': 16779714560, 'model': 'Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz', 'cores': 4, 'physical_cores': 4, 'loadavg': [0.6953125, 0.7724609375, 0.78515625], 'uptime': '1 day, 0:10:28.497616', 'uptime_seconds': 87028.497616494, 'system_serial': 'REDACTED', 'system_product': 'Standard PC (Q35 + ICH9, 2009)', 'system_product_version': 'pc-q35-9.0', 'license': None, 'boottime': {'$date': 1734707927000}, 'datetime': {'$date': 1734794955000}, 'timezone': 'Asia/Kolkata', 'system_manufacturer': 'QEMU', 'ecc_memory': True}
2024-12-21 20:59:15.577 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: interface, get, {}
2024-12-21 20:59:15.681 DEBUG (SyncWorker_4) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query response: [{'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None}]
2024-12-21 20:59:15.683 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing source [{'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None}]
2024-12-21 20:59:15.683 DEBUG (SyncWorker_4) [custom_components.truenas.apiparser] Processing entry {'id': 'enp6s18', 'name': 'enp6s18', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp6s18', 'orig_name': 'enp6s18', 'description': 'enp6s18', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-scatter-gather', 'tx-checksum-ip-generic', 'tx-generic-segmentation', 'rx-gro', 'tx-tcp-segmentation', 'tx-tcp-ecn-segmentation', 'tx-tcp6-segmentation', 'rx-gro-hw'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'Unknown Other', 'active_media_type': 'Ethernet', 'active_media_subtype': 'Unknown Other', 'supported_media': [], 'media_options': None, 'link_address': 'bc:24:11:0f:d5:ae', 'permanent_link_address': 'bc:24:11:0f:d5:ae', 'hardware_link_address': 'bc:24:11:0f:d5:ae', 'aliases': [{'type': 'INET', 'address': '10.20.20.3', 'netmask': 24, 'broadcast': '10.20.20.255'}, {'type': 'INET6', 'address': 'fe80::be24:11ff:fe0f:d5ae', 'netmask': 64, 'broadcast': 'fe80::ffff:ffff:ffff:ffff'}, {'type': 'LINK', 'address': 'bc:24:11:0f:d5:ae'}], 'vrrp_config': None, 'rx_queues': 4, 'tx_queues': 4}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': True, 'description': '', 'mtu': None}
2024-12-21 20:59:15.684 DEBUG (SyncWorker_1) [custom_components.truenas.api] TrueNAS 10.20.20.3:9443 query: reporting/netdata_get_data, post, {'graphs': [{'name': 'load'}, {'name': 'cpu'}, {'name': 'arcsize'}, {'name': 'memory'}, {'name': 'interface', 'identifier': 'enp6s18'}], 'reporting_query': {'start': '-90', 'end': '-30', 'aggregate': True}}
The text was updated successfully, but these errors were encountered: