koying / jellyfin_ha

Jellyfin integration for Home Assistant
Apache License 2.0
105 stars 18 forks source link

Repetitive threads when connecting over https #19

Open nonplusnl opened 3 years ago

nonplusnl commented 3 years ago

Jellyfin integration worked just fine with previous HA versions, but after upgrade to 2021.11, today, I get a message logged every 2 to 3 seconds:

image

Thread count goes up, session-id different every time. I have disabled the integration for now, as this slows down this considerably and I don't want my logfile to blow up. Any idea what is happening?

Thanks!

nonplusnl commented 2 years ago

Hi, any idea on what is going on here? There is no change with 2021.12. Unfortunately my log does not tell me more than I quoted above. This renders the extension unusable for me - I have not tried, but I assume that opening new threads every few seconds will not take long to crash the server.

nonplusnl commented 2 years ago

Hi, still wondering. Now on HA 2022.2.2 and Python3.9 (Python 3.8 previously), Ubuntu 20.04. I still see the same log entries, a new thread 2-3 seconds. What could be going on? When I connect to Jellyfin over http (localhost:8096) the connection is fine and there are no log entries. However, in this case I don't see album art in HA (because I access HA via https, and the browser refuses to show mixed http/https content). But when I connect to the public-facing https reverse proxy, I get the new thread connecting every 2-3 seconds.