Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activating Unbound DNS blocklist causes configd.py traceback (so do other "longish" configuration tasks) #5639

Closed
2 tasks done
c-s-1 opened this issue Mar 21, 2022 · 1 comment
Assignees
Labels
cleanup Low impact changes

Comments

@c-s-1
Copy link

c-s-1 commented Mar 21, 2022

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

Enabling Unbound DNS blocklists causes a traceback in configd.py.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://<opnsense box>/ui/unbound/dnsbl/index.
  2. Select ~10-11 blocklists.
  3. Enable blocklist feature.

Expected behavior

Blocklists are enabled, "Apply" button animation will end after a short time.

Describe alternatives you considered

There seems to be no workaround.

Screenshots

If applicable, add screenshots to help explain your problem.

Relevant log files

The backend logs show the following error:

2022-03-21T18:03:21 | Error | configd.py | unable to sendback response [OK ] for [unbound][dnsbl][None] {1708df0e-915b-4b59-8fe0-4730adf6deb7}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe
2022-03-21T18:02:42 | Error | configd.py | Timeout (120) executing : unbound dnsbl

Additional context

This issue also occurs in a similar fashion when doing the following:

  • Download and apply Web Proxy "Remote Blacklist".
  • Activate Intrusion Prevention.

Environment

OPNsense 22.1.3-amd64 on an Intel(R) Celeron(R) CPU J3455 @ 1.50GHz (4 cores, 4 threads) platform with 6 GB RAM

@c-s-1 c-s-1 changed the title Activating Unbound DNS blocklist causes configd.py traceback Activating Unbound DNS blocklist causes configd.py traceback (so do other "longish" configuration tasks) Mar 21, 2022
@AdSchellevis
Copy link
Member

The machine isn't fast enough to wait for the action to complete (120 seconds), 28e7d49 changes the log level to notice (which is more suitable).

@AdSchellevis AdSchellevis self-assigned this Mar 21, 2022
@AdSchellevis AdSchellevis added the cleanup Low impact changes label Mar 21, 2022
fichtner pushed a commit that referenced this issue Mar 22, 2022
…es as these aren't errors, just a reminder the client is too slow to wait for the answer. closes #5639

(cherry picked from commit 28e7d49)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Low impact changes
Development

No branches or pull requests

2 participants