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:Jump to 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
18 Replies
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?
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
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 ?
No you can probably see the logs in your unraid dashboard
Well, trying the first thing out, the ping is RED. And the error is:
Unexpected Response: connect EHOSTUNREACH xx.xx.xx.x:3000
Okay so I guess Homarr can not reach your other service then
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.
Not sure how your setup works. I guess it can not access the IP. Are all docker processes running in the same docker-compose?
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.
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)by host.docker.internal what do you mean ? I am not familiar with that ?
The hostname for adguard is well, "adguard"
let me check.
nope. Now the error is ENOTFOUND adguard
😄
I think I'm gonna need a hammer for this server. HAHAHAHHA
xD
yeah so.
progress.
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
but it doesn't when homarr is set to the "custon network" that's running behind unraid.