home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.03k stars 29.69k forks source link

Adguard failed to setup, will retry #109236

Open Gunth opened 7 months ago

Gunth commented 7 months ago

The problem

Hi all, Since the latest release (2024.1.6) i lost the Adguard integration entities, all the sensors are unavailable and I dont see any logs in the log file except in the integration page "Failed setup, will retry".

image

The adguard addon is still working correclty.

G.

What version of Home Assistant Core has the issue?

2024.1.6

What was the last working version of Home Assistant Core?

2024.1.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Adguard

Link to integration documentation on our website

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

Diagnostics information

No diagnostics file available

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Nothing in the log file :-(

Additional information

No response

home-assistant[bot] commented 7 months ago

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

Code owner commands Code owners of `adguard` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign adguard` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


adguard documentation adguard source (message by IssueLinks)

Vansmak commented 7 months ago

Same here. I have 2 adguard instances that are not ha addons but were successfully integrated before and now fail to setup

SamJongenelen commented 7 months ago

Same here. Worked for years now but recently failed.

bjorndegroot commented 7 months ago

Same here!

Dio55 commented 7 months ago

Also same here

N3rdix commented 7 months ago

You could turn on debug logging, reload the integration and share the logs. Maybe that's already a hint. My Adguard Home (externally running, not the addon) is still correctly connected to the integration with 2024.1.6

Vansmak commented 7 months ago

i was able to add them again successfully after deleting and restarting

SamJongenelen commented 7 months ago

I deleted it and rebooted. It discovered it again, but immediately it went to failed to setup.. I am using haos and addon

hitesh-singh commented 7 months ago

I'm having the same issue, after update Uninstall the integration, Rebooted HA, Tryed reconfigure, nothing worked.

I'm on the following Version

Core: 2024.1.6 Supervisor: 2023.12.1 Operating System: 11.4 Frontend: 20240104.0

AdGuard Home Version: v0.107.43

tescophil commented 7 months ago

I'm running adguard externally to home assistant and have the same issue, failed to setup since the upgrade to 2024.1.6

pblohrndz commented 7 months ago

Same Issue.

Core 2024.1.6 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0

AdguardHome: v0.107.43

N3rdix commented 7 months ago

Logs? No one? Without any input it might be hard for the devs to judge

Gunth commented 7 months ago

I've enabled the debug mode but didn't find any logs in the file after reloading the integration or restarting ...

tescophil commented 7 months ago

Same here, nothing in the logs after enabling debug logging and reloading the integration. Rolled back to 2024.1.5 and it functions perfectly.

Vansmak commented 7 months ago

Mine are persisting after removing. rebooting, re-adding. Try unchecking verify ssl. Screenshot_20240203_054149_Home Assistant Screenshot_20240203_054224_Home Assistant

mjpiratex commented 7 months ago

Also experienced similar as reported. Experienced error after update. Attempted adding a second copy, it's prompting for user/password in the current prompt- something I didn't set or setup. Unable to add second copy. Attempted to remove, reboot,and readd integration, failed to initialize, tried to add another copy- it also failed second screenshot. Diagnostics button for that seems absent now. Screenshot_20240207-163322 Screenshot_20240207-163612

Dio55 commented 7 months ago

Problem still exist with Adguard Home 5.03 and Home Assistant Core 2024.2.0

miguel-rodrigues-kenbi commented 7 months ago

Disabling HTTPS on the add-on and restarting it resolved the problem for me.

mjpiratex commented 7 months ago

Disabling HTTPS on the add-on and restarting it resolved the problem for me.

Did you re-enable the SSL after this step? It worked with SSL enabled previously.

Dio55 commented 7 months ago

Disabling HTTPS solves the problem, but it introduces a new problem: DNS via https and tls will not work anymore. Re-enabling HTTPS again introduces the original problem.

mjpiratex commented 7 months ago

Disabling HTTPS solves the problem, but it introduces a new problem: DNS via https and tls will not work anymore. Re-enabling HTTPS again introduces the original problem.

What else can we do to help resolve this issue?

Dio55 commented 6 months ago

To solve the problem, I have disabled the Adguard setting to redirect to HTTPS automatically. Until now I have noticed no negative side effects.

image

tescophil commented 6 months ago

Any movement on this, same problem persists in the latest version 2024.2.3, the 'fix' to turn of auto redirect to HTTPS does not work in my case. Enabling debug logging results in nothing showing up in the logs.

Vansmak commented 6 months ago

For what it's worth I have 2 instances outside if ha addons that are connecting. Non ssl

SamJongenelen commented 6 months ago

Disabling auto redirect worked for me. Did a reboot too (HAOS)

chdefrene commented 6 months ago

For me, the trick was to disable the Verify SSL certificate option when setting up the integration. Makes sense, since I'm using a self signed certificate. With this option off, the service works even when "Redirect to HTTPS automatically" is turned on in the Adguard settings.

tescophil commented 6 months ago

I'm not using a self signed cert, still doesn't work...

Deleted, reinstalled without the "Check SSL cert: option and it now works, but is still fundamentally broken...

zipzagster commented 5 months ago

I can't install the integration, even disabling SSL. Do I leave username and password blank?

issue-triage-workflows[bot] commented 2 months ago

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.

mjpiratex commented 2 months ago

This is still in the same state as my last comment. Still not working.

Zetto12 commented 2 months ago

This is still in the same state as my last comment. Still not working.

I can confirm. I installed Adguard in a proxmox container today (so not as a HA Add-on) and the Home Assistant integration keeps failing when I try to connect. A solution to this would be awesome.

molelightn commented 2 months ago

This is still in the same state as my last comment. Still not working.

I can confirm. I installed Adguard in a proxmox container today (so not as a HA Add-on) and the Home Assistant integration keeps failing when I try to connect. A solution to this would be awesome.

exactly the same - everything up to date but cannot connect

voku commented 4 weeks ago

To solve the problem, I have disabled the Adguard setting to redirect to HTTPS automatically. Until now I have noticed no negative side effects.

image

This is also working for me.

coolstuff99 commented 2 weeks ago

Disabling verify ssl certificate in home assistant once setting up the integration did the trick for me though it is a valid lets encrypt certificate…