Can't get DNS Hole Widgets to work with AdGuard

I am trying to setup the DNS Hole widgets, with my AdGuard Home. I am running AdGuard on docker, on my Unraid server, with Network set to "br0". That means, AdGuard runs on it's own IP. I also added the IP and port (3000) on AdGuard's config yaml, because when I hadn't set it up, I could only access its webui on port 80. Anyway, I'm setting up an app on Homarr, with AdGuard's address (http://xx.xx.xx.xx:3000) and the appropriate credentials (username/pass) on the Integration setup, and I can click on it no problem. But the widgets do not work. Any ideas ? PS. Using the SAME credentials and address, I can integrate AdGuard to Home Assistant and it works fine.
Solution:
If I set the Homarr docker, to a "host" network, so it gets a standalone IP as well, as a network device, then it DOES work. lol
Jump to solution
18 Replies
Cakey Bot
Cakey Bot3w ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Meierschlumpf
Meierschlumpf3w ago
When you enable ping for the app you can see if it can access the internal address. Can you try that out and let us know what you see. Also can you send us the server logs (redact all personal things) so we can see more details
bonamin
bonaminOP3w ago
Hello ! Thanks for taking interest in my problem. Yeah I can check right away. Might I ask, where can I find the logs ? Are they mounted on my appdata ?
Meierschlumpf
Meierschlumpf3w ago
No you can probably see the logs in your unraid dashboard
bonamin
bonaminOP3w ago
Well, trying the first thing out, the ping is RED. And the error is: Unexpected Response: connect EHOSTUNREACH xx.xx.xx.x:3000
Meierschlumpf
Meierschlumpf3w ago
Okay so I guess Homarr can not reach your other service then
bonamin
bonaminOP3w ago
In my stupidity I forgot to check the pings. 😄 I had them all off normally as I like the cleaner look. hmmm. But why would that be ? : D since the IP is correct. I'm confused.
Meierschlumpf
Meierschlumpf3w ago
Not sure how your setup works. I guess it can not access the IP. Are all docker processes running in the same docker-compose?
bonamin
bonaminOP3w ago
yeah. But 90% of them are running on a "custom Network" and their respective ports mapped. So they are all accessed via my server's IP and the corresponding port. AdGuard is run as "Host" so it gets a different IP to the server. To test things out, I've run a second Hommar Instance as host as well. Nothing changed.
Meierschlumpf
Meierschlumpf3w ago
You could try with host.docker.internal as hostname. Maybe it can access it then. This is a special hostname that contains the IP of the hostmachine so it allows to access the host network (except you perhibit it with a custom network)
bonamin
bonaminOP3w ago
by host.docker.internal what do you mean ? I am not familiar with that ? The hostname for adguard is well, "adguard"
Meierschlumpf
Meierschlumpf3w ago
Okay does it work with http://adguard:3000 or does it need to access port 80?
bonamin
bonaminOP3w ago
let me check. nope. Now the error is ENOTFOUND adguard 😄 I think I'm gonna need a hammer for this server. HAHAHAHHA
Meierschlumpf
Meierschlumpf3w ago
xD
bonamin
bonaminOP3w ago
yeah so. progress.
Solution
bonamin
bonamin3w ago
If I set the Homarr docker, to a "host" network, so it gets a standalone IP as well, as a network device, then it DOES work. lol
bonamin
bonaminOP3w ago
No description
bonamin
bonaminOP3w ago
but it doesn't when homarr is set to the "custon network" that's running behind unraid.
Want results from more Discord servers?
Add your server