OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: Ikes_72000 on March 03, 2020, 09:22:51 PM

Title: [SOLVED] DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 03, 2020, 09:22:51 PM
Hi,

Last night, my DNSCrypt-Proxy plugin crashed, with fatal error "no servers configured".
I use OPNsense 20.1.1-amd64
         FreeBSD 11.2-RELEASE-p16-HBSD
         LibreSSL 3.0.2

[2020-03-03 19:22:09] [NOTICE] dnscrypt-proxy 2.0.39
[2020-03-03 19:22:05] [FATAL] No servers configured
[2020-03-03 19:22:05] [NOTICE] Source [public-resolvers] loaded
[2020-03-03 19:22:05] [NOTICE] Network connectivity detected
[2020-03-03 19:22:05] [NOTICE] dnscrypt-proxy 2.0.39
[2020-03-03 19:21:14] [FATAL] No servers configured
[2020-03-03 19:21:14] [NOTICE] Source [public-resolvers] loaded
[2020-03-03 19:21:14] [NOTICE] Network connectivity detected
[2020-03-03 19:21:14] [NOTICE] dnscrypt-proxy 2.0.39
[2020-03-03 19:21:08] [FATAL] No servers configured
[2020-03-03 19:21:08] [NOTICE] Source [public-resolvers] loaded
[2020-03-03 19:21:08] [NOTICE] Network connectivity detected
[2020-03-03 19:21:08] [NOTICE] dnscrypt-proxy 2.0.39
[2020-03-03 01:00:04] [FATAL] No servers configured
[2020-03-03 01:00:04] [NOTICE] Source [public-resolvers] loaded
[2020-03-03 01:00:04] [NOTICE] Network connectivity detected
[2020-03-03 01:00:04] [NOTICE] dnscrypt-proxy 2.0.39
[2020-03-02 23:12:31] [NOTICE] Server with the lowest initial latency: af-dnswarden-dc1-ecs (rtt: 31ms)
[2020-03-02 23:12:31] [NOTICE] -    35ms af-dnswarden-dc3-ecs
[2020-03-02 23:12:31] [NOTICE] -    34ms af-dnswarden-dc2-ecs


It seem DNSCrypt-Proxy failed after an update of DNSBL lists.

2020-03-03T01:00:00 configd.py: [db857a6c-d093-4bd8-b71f-0b6f33dfd55f] Performing remote backup
2020-03-03T01:00:00 configd.py: [eb383832-9ceb-4f29-9c46-ee7c01c9c0fd] fetching DNSBLs and restart


Any solution?

Thanks

Ikes
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: mimugmail on March 04, 2020, 05:56:37 AM
Did you try disabling DNSBLs?
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 07:13:47 AM
Yes, I tried to disable dnsbls, but this doesn't work, dnscrypt-proxy don't restart.

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: mimugmail on March 04, 2020, 08:52:12 AM
Can you try to manually add a Server and link in General Tab?
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 01:06:56 PM
Quote from: mimugmail on March 04, 2020, 08:52:12 AM
Can you try to manually add a Server and link in General Tab?
Add a server in server tab ?

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: mimugmail on March 04, 2020, 02:02:14 PM
Hm, what is your fallback resolver? Is this server probably unreachable?
For me everything works great.
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 02:27:32 PM
My fallback resolver is quad9.

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: mimugmail on March 04, 2020, 03:01:33 PM
Can you check if you can reach it? I also use the default and I get the complete server list
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 03:07:43 PM
This my config for Dnscrypt-proxy. (https://uploads.tapatalk-cdn.com/20200304/25e98e8bf0186bd2604f88962362d0e8.jpg)(https://uploads.tapatalk-cdn.com/20200304/e0b69b4ca5d7f3c0d4c0a049455bdadc.jpg)(https://uploads.tapatalk-cdn.com/20200304/545c766eee9ff0a5908ee16c3c0b6234.jpg)

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: mimugmail on March 04, 2020, 03:10:39 PM
Can you disable IPv6 and clear the whole server list ... does this fix it?
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 03:35:32 PM
Quote from: mimugmail on March 04, 2020, 03:10:39 PM
Can you disable IPv6 and clear the whole server list ... does this fix it?
It solved the problem.
I will add server and chek.

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: ArminF on March 04, 2020, 04:01:28 PM
Maybe this helps.

I had some faulty Servers entered in the server list.
As soon as i added those into the preferred list the Proxy service did not start.

Had to test it adding one by one and save the config and sorted the faulty ones out.
Title: Re: DNSCrypt-Proxy crashed with error "no servers configured"
Post by: Ikes_72000 on March 04, 2020, 07:34:04 PM
I have solved the problem...
Dnswarden project is closed.  :-\

Thanks for help.  ;)

Ikes