H
Homarr6mo ago
raphh

Status checker is red for apps behind traefik

All the apps that are behind traefik and that I access using myservice.home are shown in red. Here are the logs I got:
ERROR Unexpected response: getaddrinfo ENOTFOUND traefik.home
ERROR Unexpected response: getaddrinfo ENOTFOUND grafana.home
ERROR Unexpected response: getaddrinfo ENOTFOUND influxdb.home
ERROR Unexpected response: getaddrinfo ENOTFOUND prometheus.home
ERROR Unexpected response: getaddrinfo ENOTFOUND traefik.home
ERROR Unexpected response: getaddrinfo ENOTFOUND grafana.home
ERROR Unexpected response: getaddrinfo ENOTFOUND influxdb.home
ERROR Unexpected response: getaddrinfo ENOTFOUND prometheus.home
ERROR Unexpected response: getaddrinfo ENOTFOUND traefik.home
ERROR Unexpected response: getaddrinfo ENOTFOUND grafana.home
ERROR Unexpected response: getaddrinfo ENOTFOUND influxdb.home
ERROR Unexpected response: getaddrinfo ENOTFOUND prometheus.home
ERROR Unexpected response: getaddrinfo ENOTFOUND traefik.home
ERROR Unexpected response: getaddrinfo ENOTFOUND grafana.home
ERROR Unexpected response: getaddrinfo ENOTFOUND influxdb.home
ERROR Unexpected response: getaddrinfo ENOTFOUND prometheus.home
Any idea how to fix/debug this?
24 Replies
Cakey Bot
Cakey Bot6mo 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?
Manicraft1001
Manicraft10016mo ago
!qa required_data
Cakey Bot
Cakey Bot6mo ago
Thank you for your question. Our support team has noted that your request does not meet the minimum required data so we are unable to answer your question. Please provide: - your Homarr logs - your setup configuration (eg. docker compose, docker run, helm chart, screenshot, ...) - A detailed description of your problem or question with additional images where necessary - Your operating system - Version of Homarr (do not say latest! say 0.15.2, ...) Failure to comply with this will result in a permanent closure of your support request.
raphh
raphhOP6mo ago
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
networks:
- main
restart: unless-stopped
volumes:
- /volume2/docker/appdata/homarr/configs/:/app/data/configs
- /volume2/docker/appdata/homarr/icons/:/app/public/icons
- /volume2/docker/appdata/homarr/data/:/data
ports:
- 7575:7575
networks:
main:
external: true
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
networks:
- main
restart: unless-stopped
volumes:
- /volume2/docker/appdata/homarr/configs/:/app/data/configs
- /volume2/docker/appdata/homarr/icons/:/app/public/icons
- /volume2/docker/appdata/homarr/data/:/data
ports:
- 7575:7575
networks:
main:
external: true
v0.15.3 Synology NAS
Manicraft1001
Manicraft10016mo ago
Can you open the container terminal session and manually make a curl / wget / ping to your hostnames? If this fails, you need to fix your networking setup.
raphh
raphhOP6mo ago
mmmh yes I think I understand: the homarr container cannot resolve the dns (which is done by pihole)
Manicraft1001
Manicraft10016mo ago
Have you tried setting the DNS server manually? You can do that for containers
raphh
raphhOP6mo ago
I just tried but when I add the ip of pihole as dns in homarr, it seems homarr is cut off from internet
Manicraft1001
Manicraft10016mo ago
Maybe a network policy or rule is blocking it? Do you have some kind of tunnel or VPN maybe?
raphh
raphhOP6mo ago
root@d8fedaf12206:/app# wget http://radarr.home
--2024-07-12 15:01:41-- http://radarr.home/
Resolving radarr.home (radarr.home)... 10.10.2.2
Connecting to radarr.home (radarr.home)|10.10.2.2|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://radarr.home/ [following]
--2024-07-12 15:01:41-- https://radarr.home/
Connecting to radarr.home (radarr.home)|10.10.2.2|:443... connected.
ERROR: The certificate of 'radarr.home' is not trusted.
ERROR: The certificate of 'radarr.home' doesn't have a known issuer.
The certificate's owner does not match hostname 'radarr.home'
root@d8fedaf12206:/app# wget http://radarr.home
--2024-07-12 15:01:41-- http://radarr.home/
Resolving radarr.home (radarr.home)... 10.10.2.2
Connecting to radarr.home (radarr.home)|10.10.2.2|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://radarr.home/ [following]
--2024-07-12 15:01:41-- https://radarr.home/
Connecting to radarr.home (radarr.home)|10.10.2.2|:443... connected.
ERROR: The certificate of 'radarr.home' is not trusted.
ERROR: The certificate of 'radarr.home' doesn't have a known issuer.
The certificate's owner does not match hostname 'radarr.home'
Manicraft1001
Manicraft10016mo ago
So you use http only? If you use self signed ssl certificates you need to trust them in Homarr
raphh
raphhOP6mo ago
how can I do that?
raphh
raphhOP6mo ago
oh nice, let me try this so now it seems it's working for most apps except two (traefik and bazarr)
Manicraft1001
Manicraft10016mo ago
What status code do they return? Or does the request completly fail?
raphh
raphhOP6mo ago
i can open the page, just that the status indicator is red
Manicraft1001
Manicraft10016mo ago
What does the indicator show?
raphh
raphhOP6mo ago
its 401 for both
Manicraft1001
Manicraft10016mo ago
Then simply add 401 as an accepted code
raphh
raphhOP6mo ago
yes i think i'll do that
Manicraft1001
Manicraft10016mo ago
401 means that you must authenticate for it to access. And Homarr doesn't know whether 401 is a "good" or "bad" response
raphh
raphhOP6mo ago
👍 thanks!
Manicraft1001
Manicraft10016mo ago
Can we mark this as resolved then?
raphh
raphhOP6mo ago
yes
Want results from more Discord servers?
Add your server