Adguard showing error
Hello,
I tried searching for a few hours but I didn't find any solution. I am very very new to all this.
OS: Unraid
Adguard: in a docker container from the app store
I installed all my dockers on a custom network, homarr works great with all these services (Sonarr, sab etc).
But adguard is installed in network type: custom br0 and I give it a fixed IP (this is according to all the youtube guides)
When I add adguard to the homarr page, the link works fine but I get error: unexpected response: connect EHOSTUNREACH and the indicator shows yellow.
The widgets do not work.
I've tried to put homarr under networktype host, does not work still.
I've tried to ping adguard IP from inside the homarr-docker and it says unreachable wich makes sense.
I'm just at a loss on how to fix this and google got me no where. I understand you might not be able to help since this is most likely a Unraid issue?
11 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?
Hi, even if an app is accessible to your browser does not mean that homarr can establish contact with it.
Homarr and the app need to be on the same network
meaning you might want to add homarr to the br0 network along the custom one
Ah I see! You can add two networks? I did not know that, i'll look into it.
Not sure what I've done but can't even access homarr anymore so think i'll have to start from scratch.
Thanks!
you can bridge the networks
but you should be able to set multiple networks if I'm not mistaken
Thank you, I will look into this.
The thread stays so I can go back and look at the info you wrote?
yes
I've come nowhere Tag. Do you have any solution or some resource on how to add two networks?
I've tried "&& docker network connect <your network name> <your container name>" under post arguments in advance view of the homarr container options. I still get Unexpected response: connect EHOSTUNREACH my_IP
-v '/var/run/docker.sock':'/var/run/docker.sock':'ro' 'ghcr.io/ajnart/homarr:latest' && docker network connect br0 homarr
3458ab064226d516ed70cf10f832bb5e5a7a9d7ada854a084bd70a619fc6473a
Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network
Is the error I get.
Actually, it might be becuase Homarr runs on host. But if I run Homarr in bridge or custom network it won't even load
Oh you're running on host? I thought you had a custom network for your apps.
Then you need to add host to your adguard
No, I have it running on a custom network, but for some reason it only starts when I have it on host now. I'll try to restart the server.
It should be enough to do the command:
&& docker network connect br0 homarr
On the post arguments on the homarr container, right? I don't need to do anything on the Adguard container?
if homarr accepts br0 then it's fine yeah, but if all your apps are on 1 network, you might want to get adguard to join that one instead.
Frankly I don't know much about bridging and networks on docker, I usually recommend to have everything run on host then proxy everything through a reverse proxy. Your apps can then use the reverse proxied address to talk to each other.
I see. I'll try to mess around with it a bit more before I give up.
Thanks for the help, it did help a lot.