home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.

Home Page:https://www.home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unclear Sonarr installation feedback

starman2k01 opened this issue Β· comments

The problem

Feedback
Sonarr stopped working, so I deleted and re-installed. Filled in URL and API Key, "Failed to connect". Tried dozens of different URL formats. No feedback on what failed. Why not give the user exactly WHAT is failing? Client refused? Wrong API key? Can't ping client? etc. etc.
Latest HASS supervised.

URL
https://www.home-assistant.io/integrations/sonarr/

Version
2022.5.4

What version of Home Assistant Core has the issue?

Home Assistant Core 2022.5.5 Home Assistant Supervisor 2022.05.2 Home Assistant OS 8.1 Kernel version 5.15.32-v8 Agent version 1.2.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

sonarr

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Hey there @ctalkington, mind taking a look at this issue as it has been labeled with an integration (sonarr) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

I have the same problem. I removed the integration and tried to add it again with no success. Error: failed to connect.

commented

I also have the same problem. The URL I entered is accessible by Home Assistant.

Have it too. My sonarr is a docker and accessible on a specific port I must provinde in the url. There is a port redirection, meaning I access the web interface with port 8084 from any PC, but the docker port who is routed from 8084 is 8989.

I found a workaround for this. You have to specify the port at the end for it to work, otherwise it seems to assume the default of 8989. Example: https://sonarr.mylan.local:443 if you're running on the standard port for HTTPS.

I have Sonarr running on https:// with default port 443 in a subdirectory. So basically my URL is:
https://my.hosname.tld:443/sonarr/

But that URL scheme also doesn't work.
Even the workaround from @elforesto doesn't help.

same issue can do a curl form inside docker to my sonarr instance so it's not that it can't reach it... looks like something with the actual integration

I'm having the same issues... Is this still maintained? Has anyone had success setting up that integration?
Also it's a bit annoying that the form gets cleared after each try. Can this behavior be disabled somehow?

Thanks @elforesto - I was having the same issue and your workaround worked for me

Thankyou @elforesto! I can stop scratching my head on this now!

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

The problem is still not fixed.

Not fixed

Note: tried also configuring higher log levels:

logger:
  default: info
  logs:
    homeassistant.components.sonarr: debug
    sonarr: debug

The above produces no useful logs.

The same issue occurs with both Sonarr and Radarr.

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Still not fixed

Both sonarr and radarr integrations fail to connect when I specify https://my.domain, but they work if I specify https://ip.

I've tried all combinations of host/ip and port but they all fail and I can see nothing in the log. I'm running HA in docker and my sonarr/radarr are behind nginx.

Same issue here.

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

This still applies.

Still issues with connect

Still no luck for me. Sonarr is running in docker behind nginx, also in docker. Homeassistant is running also in docker on a different host. I can ping sonarr from the HA container. I don't seem to see any logs when trying to configure things in HA.

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.