Usual "Lost connection to API"

Please follow the below template, it will help us to help you!

Expected Behaviour:

It should work like it used to for 1 week.....

Actual Behaviour:

Stoped working.....

Debug Token:

ld657tqja1

A new install with pihole -r was attempted. Everything went fine with the install, which reported [✓] DNS service is running & [✓] Pi-hole blocking is Enabled. Well, FTL is still offline....

thanks

What is the output of sudo service pihole-FTL status

**pi@PI-Hole** : **~ $** sudo service pihole-FTL status
**●** pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
Active: **active (exited)** since Thu 2019-02-07 22:57:34 WET; 8h ago
Docs: man:systemd-sysv-generator(8)
Process: 9885 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCC
Process: 9891 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SU
CGroup: /system.slice/pihole-FTL.service
 
fev 07 22:57:33 PI-Hole systemd[1]: Starting LSB: pihole-FTL daemon...
fev 07 22:57:33 PI-Hole pihole-FTL[9891]: Not running
fev 07 22:57:34 PI-Hole su[9917]: Successful su for pihole by root
fev 07 22:57:34 PI-Hole su[9917]: + ??? root:pihole
fev 07 22:57:34 PI-Hole su[9917]: pam_unix(su:session): session opened for user
fev 07 22:57:34 PI-Hole pihole-FTL[9891]: dnsmasq: failed to create listening so
fev 07 22:57:34 PI-Hole systemd[1]: Started LSB: pihole-FTL daemon.
lines 1-15/15 (END)

What is the output of:

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      9795/lighttpd       
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      371/dnscrypt-proxy  
tcp6       0      0 :::80                   :::*                    LISTEN      9795/lighttpd       
udp        0      0 127.0.0.1:53            0.0.0.0:*                           371/dnscrypt-proxy

You have dnscrypt proxy running on port 53, which is preventing pihole-FTL from binding to that port.

A post was split to a new topic: Losing connection to API every few days

Well, the line "listen_addresses 127.0.0.1:54" was commented in the dnscrypt configuration. I don't remember writing a # on that line. It had just been working for a few days....
Anyway, all is working now, encrypting and filtering.
And I feel embarrassed......

thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.