different failure modes should still honor the timeout

Issue #951 new
js290 created an issue

Different failure modes should still honor the configured timeout between subsequent checks (default 5 secons). See also #950

Connection refused:

[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 1/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Connection reset by peer (attempt 2/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 3/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 4/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 5/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 6/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 7/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 8/10)
[2020-12-04T06:25:03-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused (attempt 9/10)
[2020-12-04T06:25:03-0500] error    : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- Connection refused
[2020-12-04T06:25:03-0500] info     : 'pihole-FTL' start: '/usr/local/bin/pihole restartdns'
[2020-12-04T06:27:04-0500] info     : 'pihole-FTL' connection succeeded to [10.23.21.10]:53 [TCP/IP]

Resource Unavailable:

[2020-12-07T04:02:01-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 1/10)
[2020-12-07T04:02:06-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 2/10)
[2020-12-07T04:02:11-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 3/10)
[2020-12-07T04:02:16-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 4/10)
[2020-12-07T04:02:21-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 5/10)
[2020-12-07T04:02:26-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 6/10)
[2020-12-07T04:02:31-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 7/10)
[2020-12-07T04:02:36-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 8/10)
[2020-12-07T04:02:41-0500] warning  : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable (attempt 9/10)
[2020-12-07T04:02:46-0500] error    : 'pihole-FTL' failed protocol test [DNS] at [10.23.21.10]:53 [TCP/IP] -- DNS: error receiving response -- Resource temporarily unavailable
[2020-12-07T04:04:46-0500] info     : 'pihole-FTL' connection succeeded to [10.23.21.10]:53 [TCP/IP]

Comments (0)

  1. Log in to comment