hassio-addons / addon-pi-hole

Pi-hole - Home Assistant Community Add-ons
https://addons.community
MIT License
123 stars 39 forks source link

gravity gives Status: Connection Refused #41

Closed skornehl closed 6 years ago

skornehl commented 6 years ago

Problem/Motivation

I had to dnsmasq user bug #35 so I decided to reinstall pihole, but after fresh install, it is not able to pull it's blocklists anymore.

On hass.io shell I still can resolve and curl github.

Config

{
  "log_level": "info",
  "password": "",
  "update_lists_on_start": true,
  "admin_port": 80,
  "dns_port": 53,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "interface": "wlan0",
  "ipv6": false,
  "ipv4_address": "",
  "ipv6_address": "",
  "virtual_host": "",
  "hosts": [],
  "i_like_to_be_pwned": true,
  "leave_front_door_open": true
}

Full Log

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing... 
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-patches.sh: executing... 
[cont-init.d] 20-patches.sh: exited 0.
[cont-init.d] 21-v4-migration.sh: executing... 
[cont-init.d] 21-v4-migration.sh: exited 0.
[cont-init.d] 30-pihole.sh: executing... 
[cont-init.d] 30-pihole.sh: exited 0.
[cont-init.d] 31-pihole-ftl.sh: executing... 
[cont-init.d] 31-pihole-ftl.sh: exited 0.
[cont-init.d] 32-nginx.sh: executing... 
[cont-init.d] 32-nginx.sh: exited 0.
[cont-init.d] 33-password.sh: executing... 
WARNING: No password set! This is not recommended!
  [✓] Password Removed
[cont-init.d] 33-password.sh: exited 0.
[cont-init.d] 34-hostname.sh: executing... 
[cont-init.d] 34-hostname.sh: exited 0.
[cont-init.d] 35-logfiles.sh: executing... 
[cont-init.d] 35-logfiles.sh: exited 0.
[cont-init.d] 36-hosts.sh: executing... 
[cont-init.d] 36-hosts.sh: exited 0.
[cont-init.d] 50-gravity.sh: executing... 
FTL started!
  [i] Neutrino emissions detected...

  [✓] Pulling blocklist source list into range
  [i] Target: raw.githubusercontent.com (hosts)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: mirror1.malwaredomains.com (justdomains)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: sysctl.org (hosts)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: s3.amazonaws.com (simple_tracking.txt)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: s3.amazonaws.com (simple_ad.txt)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Target: hosts-file.net (ad_servers.txt)
  [i] Status: Pending...

  [✗] Status: Connection Refused
  [✗] List download failed: no cached list available
  [i] Consolidating blocklists...

  [✓] Consolidating blocklists
  [i] Extracting domains from blocklists...

  [✓] Extracting domains from blocklists
  [i] Number of domains being pulled in by gravity: 0
  [i] Removing duplicate domains...

  [✓] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 0
  [i] Nothing to whitelist!
  [i] Parsing domains into hosts format...

  [✓] Parsing domains into hosts format
  [i] Cleaning up stray matter...

  [✓] Cleaning up stray matter
  [✓] DNS service is running
  [✓] Pi-hole blocking is Enabled
[cont-init.d] 50-gravity.sh: exited 0.
[cont-init.d] 99-tests.sh: executing... 
dnsmasq: syntax check OK.
[27-Aug-2018 05:43:24] NOTICE: configuration file /etc/php7/php-fpm.conf test is successful
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[cont-init.d] 99-tests.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
addons-assistant[bot] commented 6 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

skornehl commented 6 years ago

Solved with enabling "Listen on all interfaces" instead of "Listen only on interface wlan0" in pihole DNS settings

addons-assistant[bot] commented 6 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.