First of all, thanks for a very well designed card to go along with this great integration!
I just spent 6 hours poring through the Tautulli REST End Point and Custom Button Card thread, recreating each step and editing yamls all over the place. Then I got to the end and saw your release of this integration…I REALLY should have read that thread starting from the most recent posts.
This is so much quicker and easier, although I did learn a lot by going through the previous thread.
Anyway, on to my question: when I connect via http://[IP:PORT] everything works great and looks amazing.
(I wanted to show a screencap because it looked so good, but apparently I can only embed one image as a new user here)
However, if I try to connect via my reverse proxied internal domain, the config page spins for while then just says “unknown error occured”
Same thing happens whether I enable SSL verification or not. SSL cert is provided by LetsEncrypt and not self-signed.
Log entries show:
Logger: homeassistant.config_entries
Source: config_entries.py:637
First occurred: 1:14:23 AM (3 occurrences)
Last logged: 1:33:32 AM
Error setting up entry Tautulli Active Streams for tautulli_active_streams
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 637, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tautulli_active_streams/__init__.py", line 87, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2285, in async_forward_entry_setups
await self._async_forward_entry_setups_locked(entry, platforms)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2296, in _async_forward_entry_setups_locked
await asyncio.gather(
...<11 lines>...
)
asyncio.exceptions.CancelledError
and
Logger: homeassistant.config_entries
Source: config_entries.py:637
First occurred: 1:14:23 AM (3 occurrences)
Last logged: 1:33:32 AM
Error setting up entry Tautulli Active Streams for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 637, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 96, in async_setup_entry
return await hass.data[DATA_COMPONENT].async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 193, in async_setup_entry
return await self._platforms[key].async_setup_entry(config_entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 333, in async_setup_entry
return await self._async_setup_platform(async_create_setup_awaitable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 374, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 658, in async_add_entities
await add_func(coros, entities, timeout)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 567, in _async_add_and_update_entities
results = await asyncio.gather(*tasks, return_exceptions=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError
Those errors made me think it was because I had already installed the integration and connected with http, or maybe because of something conflicting with all my hatchet jobs going through the original Tautulli thread. However, after deleting everything and hard rebooting, I reinstalled the integration (2.1.0) and got the same errors.
Any thoughts?
