8000 "Failed to connect" when trying to connect to jellyfin · Issue #145999 · home-assistant/core · GitHub
[go: up one dir, main page]

Skip to content
"Failed to connect" when trying to connect to jellyfin #145999
@mldulaney

Description

@mldulaney

The problem

jellyfin is behind an nginx proxy with tls over port 443. if i put in https:// i get an error:
Failed to connect

nginx logs show no connection coming in if i have the https, but they do show a connection if i do not. i note that https works everywhere else. i set the log level to debug, and this is all i got:

�[36m2025-06-01 11:20:45.466 DEBUG (MainThread) [homeassistant.helpers.http] Serving /api/config/config_entries/flow/01JWPB0D9V1BG8R3MEGS225FGM to 192.168.2.232 (auth: True)�[0m
�[36m2025-06-01 11:20:45.466 DEBUG (MainThread) [JELLYFIN.jellyfin_apiclient_python.configuration] Begin app constructor.�[0m
�[36m2025-06-01 11:20:45.466 DEBUG (MainThread) [JELLYFIN.jellyfin_apiclient_python.configuration] Begin http constructor.�[0m
�[32m2025-06-01 11:20:45.468 INFO (SyncWorker_3) [JELLYFIN.jellyfin_apiclient_python.api] Sending get request to system/info/public�[0m
�[36m2025-06-01 11:20:45.468 DEBUG (SyncWorker_3) [JELLYFIN.jellyfin_apiclient_python.api] 5�[0m
�[36m2025-06-01 11:20:45.469 DEBUG (SyncWorker_3) [JELLYFIN.jellyfin_apiclient_python.api] {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Home Assistant/2025.5.3', 'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'User-Agent': 'Home-Assistant/2025.5.3', 'Authorization': 'MediaBrowser Client="Home Assistant", Device="homeassistant", DeviceId="ad76d071a3f3dd13f99e40da19e49008", Version="2025.5.3"'}�[0m
�[31m2025-06-01 11:20:45.502 ERROR (SyncWorker_3) [JELLYFIN.jellyfin_apiclient_python.connection_manager] connect_to_address https://tv.tonsi.lan failed�

I have setup the root ca but that was true when this was working. dns works, and i can get into the homeassistant container and curl the jellyfin server and get a 200

What version of Home Assistant Core has the issue?

core-2025.5.3

What was the last working version of Home Assistant Core?

core-2025.5.2

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

jellyfin

Link to integration documentation on our website

https://www.home-assistant.io/integrations/jellyfin/

Diagnostics information

home-assistant_2025-06-01T18-21-16.783Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0