New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi-Hole integration is no reaching Pi-Hole Hass.io addon #26747
Comments
Faced the same issue, and can confirm that this config fixes the issue. I have also posted about this in the blog updated on the forums with the same code last night. |
Seem that the Pi-hole integration no longer resolves hosts names. Not sure if that was intended or accidental. |
@Kanga-Who For more information I added also my pi-hole hass.io config above. |
for the add-on, please use |
I tried that one as well :' |
@johnluetke, can you take a look please? |
This is interesting. I've tested connecting to my pihole via both @Poeschl What happens if you disable SSL? Also, can you confirm that |
This is my working config. Running Hass.io 0.99.2 over Ubuntu Server 18.04LTS, PiHole 4.0.0 via Hass.io Add-on.
|
So I tested some different scenarios and came up with the following results (ssl setting was set on addon and HA):
Log from working requests:
Log from failing requests:
All requests are received by the addon it seems, but the ssl request is not correctly understood by it. |
I have the same issue since upgrading..
old config in sensor.yaml:
I can curl it ok, worked fine pre-0.99. |
I use certs from a self-signed CA. |
I’ve got letsencrypt certs, but recently moved most of my services to
internal lan only..but haven’t disabled SSL for it so that is why verified
is false
…On Mon, Sep 23, 2019 at 2:44, Markus Pöschl ***@***.***> wrote:
I use certs from a self-signed CA.
verify_certs is also set to false in the config.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26747>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7OFYQFO3G3CEOYAE7SYI3QK6VGJANCNFSM4IYQDWUA>
.
|
I fixed this by updating my apache alias to direct / to /var/www/html/dns/ as well as use the fqdn as per ssl cert.
works now, but yes, seems like verified=false isnt working |
Home Assistant release with the issue:
0.99.0
Last working Home Assistant release (if known):
0.98.5
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
Pi-Hole platform #25837
Description of problem:
I'm currently running pi-hole as a hass.io addon and tried to migrate to the latest home assistant version. But the new pi-hole integration can't reach the dockerized pi-hole anymore. The only output I get over the logs is
Can not load data from *hole: <host>
, also no access to the pi-hole is logged on the addon.First I migrated from the old config to the new one (both shown below) and tried afterwards all combinations of
localhost
, ip, anda0d7b954-pi-hole.local.hass.io
with and without the api port4832
. The UI port80
is disabled since I'm using the ingress feature of hass.io.Old config:
Migrated config:
Pi-Hole Hass.io Addon config
4.0.0
The text was updated successfully, but these errors were encountered: