core icon indicating copy to clipboard operation
core copied to clipboard

Adguard failed to setup, will retry

Open Gunth opened this issue 1 year ago • 32 comments

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

Gunth avatar Jan 31 '24 19:01 Gunth

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)

home-assistant[bot] avatar Jan 31 '24 19:01 home-assistant[bot]

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

Vansmak avatar Feb 01 '24 02:02 Vansmak

Same here. Worked for years now but recently failed.

SamJongenelen avatar Feb 01 '24 15:02 SamJongenelen

Same here!

bjorndegroot avatar Feb 01 '24 22:02 bjorndegroot

Also same here

Dio55 avatar Feb 02 '24 10:02 Dio55

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

N3rdix avatar Feb 02 '24 12:02 N3rdix

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

Vansmak avatar Feb 02 '24 14:02 Vansmak

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

SamJongenelen avatar Feb 02 '24 15:02 SamJongenelen

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

hitesh-singh avatar Feb 02 '24 20:02 hitesh-singh

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

tescophil avatar Feb 02 '24 23:02 tescophil

Same Issue.

Core 2024.1.6 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0

AdguardHome: v0.107.43

pblohrndz avatar Feb 03 '24 02:02 pblohrndz

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

N3rdix avatar Feb 03 '24 07:02 N3rdix

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

Gunth avatar Feb 03 '24 08:02 Gunth

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

tescophil avatar Feb 03 '24 09:02 tescophil

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

Vansmak avatar Feb 03 '24 13:02 Vansmak

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

mjpiratex avatar Feb 07 '24 22:02 mjpiratex

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

Dio55 avatar Feb 08 '24 16:02 Dio55

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

miguel-rodrigues-kenbi avatar Feb 08 '24 17:02 miguel-rodrigues-kenbi

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.

mjpiratex avatar Feb 08 '24 18:02 mjpiratex

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.

Dio55 avatar Feb 08 '24 18:02 Dio55

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?

mjpiratex avatar Feb 08 '24 18:02 mjpiratex

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

Dio55 avatar Feb 09 '24 13:02 Dio55

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.

tescophil avatar Feb 24 '24 14:02 tescophil

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

Vansmak avatar Feb 24 '24 19:02 Vansmak

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

SamJongenelen avatar Feb 25 '24 08:02 SamJongenelen

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.

chdefrene avatar Feb 25 '24 17:02 chdefrene

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...

tescophil avatar Feb 25 '24 17:02 tescophil

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

zipzagster avatar Mar 12 '24 17:03 zipzagster

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 is still in the same state as my last comment. Still not working.

mjpiratex avatar Jun 10 '24 18:06 mjpiratex