core: Firewall - Rules -WAN - unable to expand the Automatically generated rules with auto-added VPN rules and "legacy" IPsec tunnel(s)

Important notices

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

Describe the bug

The button just does not do anything. Only happens with WAN interface (PPPoE/DHCPv6). It works fine with other interfaces. The floating rules button works just fine even on the WAN interface. Tested with latest stable Edge and Chrome, in incognito mode as well. Nothing obvious in the browser console either, beyond “normal” complaints that jquery-3.5.1.min.js takes long time - see below.

To Reproduce

Steps to reproduce the behavior:

  1. Go to ‘Firewall: Rules: WAN’
  2. Click the button next to ‘Automatically generated rules’
  3. Nothing happens.

Expected behavior

Expand the autogenerated rules list.

Relevant log files

Nothing obvious in the browser console either, beyond complaints that the jquery-3.5.1.min.js takes long time.

[Violation]'click' handler took <N>ms
jquery-3.5.1.min.js:2 [Violation]'click' handler took 235ms
jquery-3.5.1.min.js:2 [Violation]'click' handler took 187ms
jquery-3.5.1.min.js:2 [Violation]'click' handler took 189ms
jquery-3.5.1.min.js:2 [Violation]'click' handler took 179ms
[Violation]Forced reflow while executing JavaScript took <N>ms
[Violation]Forced reflow while executing JavaScript took 204ms
[Violation]Forced reflow while executing JavaScript took 78ms
[Violation]Forced reflow while executing JavaScript took 161ms
[Violation]Forced reflow while executing JavaScript took 164ms

Additional context

Forums thread for discussion

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 23.7.7_3 (amd64)

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 23 (23 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks for the help with debugging. (As a bonus, I am now able to break the button on any/all interfaces, just adjust the legacy tunnel interface accordingly. LOL.)

Handing this over to @AdSchellevis … fix should be easy now that we know. Thanks!

Firewall: Groups entries specifically

Well, there’s just openvpn and enc0 listed, nothing manually added there.

Can you try https://github.com/opnsense/core/commit/94b269a8 just to be sure we’re not looking at a broken rendering? Somehow the code hides it multiple times. That could be an issue, but hard to debug 😕