PiHole v6 Integration not accepting app password
Running 1.9.0 on Unraid.
I did have the previous v5 integration setup without any issues before updating the PiHole and of course I've been looking forward to this release.
When I edit my integration for PiHole and supply the new app password, when testing the connection I just get "The integration could not be saved."
I've tried regenerating the app password and creating a new integration instead of editing the old one but I get the same error each time. The URL hasn't changed from the previous setup and I'm not aware of any need for it to be input differently and the error message doesn't specify if there's any issues regarding the app password or URL specifically.

Solution:
Jump to solution
So, I did a little bit more poking with the matter and also ran
pihole -r
just to make sure everything was all good on the piholes end, and I managed to get it functioning. Specifically the integration points to http://192.168.0.5:8080
and that got everything working without the need to delve into certificates, which saves me from needing to go on a learning deep-dive while the wife is yelling at me to help with the cooking 😄 The widget on the homescreen works, accessing the pi-hole via the app button works and the ping works too.
Just wanna say thanks to you folks for your help in poking me in the right direction and for all your hard work on homarr. I'm positively drooling looking forward to that scaling release on Friday. Thanks again!...

26 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?
Please post the logs
!qa required_data
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.
Also, please provide what FTL & PiHole version you're using
@Meierschlumpf fyi
Gathering that all for you now. 🙂
PiHole is running the following versions. There are pending updates that look as though they came out yesterdaythat will get run later today when the house isn't using the internet.
Core v6.0.4
FTL v6.0.3
Web interface v6.0.1
Unraids Logs for the Homarr Container:
https://pastebin.com/zNHARt8z
I made sure to watch the logs while trying to save the integration and each block starting with
2025-03-05T19:51:40.423Z error: tRPC Error with mutation on 'integration.update': (INTERNAL_SERVER_ERROR) - fetch failed
seems to be logged every time so hopefully that helps narrow things down.Pastebin
text error warn system array login }}2025-03-05T19:51:25.83...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
This
ECONNREFUSED 192.168.0.5:80
looks like your Pi-hole is either not running or no longer accessible from the homarr container. Can you check?Can confirm that the pi-hole is active and running. And the integration is configured to use the same URL as the app so I don't see why it should be having connection issues. If you have a suggestion for any other method to test if homarr can reach it, I'm all ears. 🙂



I will say, I just checked the app ping in the hopes it gives more information as it is reading as a red cross and it gives me... one hell of a long error line.

As said, your logs show it as not accessible even with the currently configured integration.
Yes, your ping is also not working because it can not reach the ip
Did the ip change?
No, the IP is still the same as it's always been.
So if you open the url in your browser it works?
Yup, runs just fine.

It's on the same host as homarr?
Different device. Homarr runs via unraid, pi-hole runs on actual pi that I've had for way longer.
Wait you have https on the browser but http in homarr, maybe that? So it is using another port?
You might be onto something there, it won't load via http but does load via https. But changing that in the integration doesn't seem to resolve it.

Okay, can you send updated logs for this?
Coming up. 🙂
I'm still seeing ECONREFUSED but it's also coming up without me trying to update the integration (which still gives the same error as well), I suspect it's from the DNS Hole Summary widget pinging the integration for more information.
https://pastebin.com/yX3g9zrx
Pastebin
text error warn system array login 2025-03-05T20:24:00.144Z i...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Okay, now you have a certificate issue. You can upload your self signed parent certificate to the certificates management page
Certificates | Homarr documentation
On this page you can manage your trusted certificates.
I shall get investigating into that then. Quite unfamiliar with certificates so I'll spend some time doing some digging and learning. 🙂
Okay sounds good, let me know either when you need help or were able to fix it 👍🏽
Will do, thanks!
Solution

So, I did a little bit more poking with the matter and also ran
pihole -r
just to make sure everything was all good on the piholes end, and I managed to get it functioning. Specifically the integration points to http://192.168.0.5:8080
and that got everything working without the need to delve into certificates, which saves me from needing to go on a learning deep-dive while the wife is yelling at me to help with the cooking 😄 The widget on the homescreen works, accessing the pi-hole via the app button works and the ping works too.
Just wanna say thanks to you folks for your help in poking me in the right direction and for all your hard work on homarr. I'm positively drooling looking forward to that scaling release on Friday. Thanks again!

Great!