Connection refused for most blocklists


#1

Hi, I’ve tried a ton of solutions for this, but I cannot get pihole to download the blocklists I have set.

Running in docker on unraid.

Debug token: w9psjwqrim

Thanks.


#2

What is the output of pihole -g showing for some of the failed domains? This should be retained in file /var/log/pihole_updateGravity.log


#3
Hidden for easier thread reading

pihole -g

[i] Pi-hole blocking is enabled
[i] Neutrino emissions detected…
[✓] Pulling blocklist source list into range

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

) [i] Target: reddestdream.github.io (minimalhosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (w3kbl.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (BillStearns.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

) [i] Target: www.dshield.org (suspiciousdomains_Low.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.dshield.org (suspiciousdomains_Medium.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.dshield.org (suspiciousdomains_High.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.joewein.net (dom-bl-base.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (spammers.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

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

) [i] Target: raw.githubusercontent.com (main-blacklist.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

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

) [i] Target: v.firebog.net (AdguardDNS.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (adservers.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

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

) [i] Target: v.firebog.net (Easylist.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: pgl.yoyo.org (serverlist.php?hostformat=hosts;showintro=0
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.squidblacklist.org (dg-ads.acl
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (Easyprivacy.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (Prigent-Ads.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: gitlab.com (notrack-blocklist.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (spy.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (android-tracking.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (SmartTV.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

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

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

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

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

) [i] Target: mirror.cedia.org.ec (immortal_domains.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.malwaredomainlist.com (hosts.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: bitbucket.org (Mandiant_APT1_Report_Appendix_D.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (Prigent-Malware.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: v.firebog.net (Prigent-Phishing.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: phishing.army (phishing_army_blocklist_extended.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: gitlab.com (notrack-malware.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: ransomwaretracker.abuse.ch (RW_DOMBL.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: ransomwaretracker.abuse.ch (CW_C2_DOMBL.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: ransomwaretracker.abuse.ch (LY_C2_DOMBL.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: ransomwaretracker.abuse.ch (TC_C2_DOMBL.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: ransomwaretracker.abuse.ch (TL_C2_DOMBL.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

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

) [i] Target: v.firebog.net (Shalla-mal.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: www.squidblacklist.org (dg-malicious.acl
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (url-lists.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: zerodot1.gitlab.io (hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

)([i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: dbl.oisd.nl (
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: phishing.army (phishing_army_blocklist_extended.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: tspprs.com (crypto
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: tspprs.com (tracking
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: tspprs.com (spotify
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (AudioFp.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (Canvas.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (WebRTC.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (Game.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (HOSTS
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (AakList.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

) [i] Target: raw.githubusercontent.com (Prebake-Obtrusive.txt
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: jasonhill.co.uk (ytadblock.txt)
[✓] Status: No changes detected

[✓] Consolidating blocklists
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 1754
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 1549
[i] Nothing to whitelist!
[i] Number of regex filters: 0
[✓] Parsing domains into hosts format
[✓] Cleaning up stray matter

[✓] Force-reloading DNS service
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled


#4

This indicates a problem with your existing gravity list and you have no cached lists stored.

Let’s try temporarily resetting your nameserver and then updating gravity again:

sudo nano /etc/resolv.conf

edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit

Run pihole -g -f


#7

Hi, thanks, but no luck doing that.

One strange thing I did notice that could be completely nothing at all is that the targets where the connection was refused in the log there, they are all lacking the bracket at the end of the target, whereas the only one that had the closing ) suceeded. It also happened to be the last in the file.
Probably nothing, but I thought I might as well mention it anyway.

Thanks.


#8

Alright, I figured it out. Seemingly some dodgy whitespace in my adlist.list.
I just wiped the file, readded all the list through the webui, and all is working again.

Thanks for the help.