OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: ArminF on June 17, 2021, 08:06:09 am

Title: 21.1.7 - DNSCrypt stopped logging
Post by: ArminF on June 17, 2021, 08:06:09 am
Morning,
after upgrading to 21.1.7 DNS Crypt server stopped logging.
dnscrypt-proxy2   2.0.45
Log / Queries
Log / NX
both logs are emtpy.

Restart
Log flushing
Service restart
No success..

Would you have me any recommendations?

thanks a lot!
cheers armin
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: szty0pa on June 17, 2021, 05:10:08 pm
Hey,

I think dns-crypt works per se, only the logs are empty. Same situation here, was okay on 21.1.6.
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: vedalek on June 17, 2021, 05:44:14 pm
I have the same problem. I'm pretty sure it has something to do with the log path containing a dash "-". Maybe the log viewer is broken somehow. I fixed it by removing the dashes from my log file paths. Now I go to /ui/diagnostics/log/dnscrypt/query instead of /ui/diagnostics/log/dnscrypt-proxy/query
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: ArminF on June 18, 2021, 09:35:22 pm
Yes it does work per se.. Just the logs are empty which makes it pretty heavy to troubleshoot failing connections.

can this fix from vedalek been applied?
if so where exactly?

thanks!
armin
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: karlson2k on June 19, 2021, 04:04:11 pm
The same here, confirm.

DNSCrypt-proxy works fine, but all DNSCrypt-proxy logs are empty in GUI.
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: mimugmail on June 19, 2021, 04:18:27 pm
Also on filesystem? Can you check via SSH?
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: karlson2k on June 19, 2021, 04:26:27 pm
Also on filesystem? Can you check via SSH?
Yes, I can check via SSH. Where the logs are located?
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: karlson2k on June 19, 2021, 04:34:44 pm
Logs are available at /var/log/dnscrypt-proxy/.
I can see queries, nx, and general dnscrypt-proxy.log, everything is updated.

The logs in the GUI are still empty.
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: mimugmail on June 19, 2021, 08:01:42 pm
Can you open a bug report in GitHub please?
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: Aergan on June 23, 2021, 12:12:08 pm
Having the same issue, have logged an issue to GitHub:
https://github.com/opnsense/plugins/issues/2440
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: lebowski on July 17, 2021, 02:49:50 pm
It seems i also have this issue. Took me a while to find this topic. Is there any progress in fixing this matter?
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: mimugmail on July 17, 2021, 05:43:33 pm
Fix will come this weekend
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: Mr.Goodcat on July 19, 2021, 09:05:45 pm
Hi,

just a quick feedback: I patched in the changes and they work great. Thanks! ;D
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: lebowski on July 28, 2021, 11:44:27 pm
I did an update to 21.1.9, but the problem still exists. Am i doing something wrong? Or where the patches not applied to the new opnsense release? I can't find anything on dnscrypt  in the changelog.
Title: Re: 21.1.7 - DNSCrypt stopped logging
Post by: mimugmail on July 29, 2021, 05:50:00 am
Its not released yet, sorry