OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: pyrodex on February 05, 2025, 04:31:12 PM

Title: Can't edit firewall rules in Chrome/MSEdge?
Post by: pyrodex on February 05, 2025, 04:31:12 PM
So I just tried to clone, edit, save an existing firewall rule and I've done this hundreds of times before 25.1 upgrade but in Chrome I couldn't hit the save button. Nothing happened so I tried MSEdge, same process nothing happened. I tried creating a new rule in both browsers and had no luck even with new rule creation but then I floated over to Firefox and it worked as expected. All three browsers are running the latest and greatest versions in Windows. Is this a bug or something else?
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: EricPerl on February 05, 2025, 09:06:09 PM
No issue with WIN10. I just rebooted my dual-boot Ubuntu+WIN10 test box and tried with Edge.
Clone, change name, save, apply, delete, apply.
Same with new rule.

Try in private mode?
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: BombusAlpinus on February 07, 2025, 11:07:51 AM
same here, opnsense 25.1,  rule creation/editing works in firefox but not in chrome.
clearing chrome browser cache and cookies didn't solve the issue.
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: BombusAlpinus on February 07, 2025, 11:46:06 AM
Quote from: BombusAlpinus on February 07, 2025, 11:07:51 AMsame here, opnsense 25.1,  rule creation/editing works in firefox but not in chrome.
clearing chrome browser cache and cookies didn't solve the issue.
tried a different system also with chrome where the editing of an existing rule worked... strange...
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: lanrat on February 08, 2025, 12:16:43 AM
I'm also having this issue. Chrome gives the following error in the console, so I think it may be due to a malformed select tag.

Form submission failed, as the <SELECT> element named '' was implicitly closed by reaching the end of the file. Please add an explicit end tag ('</SELECT>')
This is likely the same issue here: https://forum.opnsense.org/index.php?topic=45675.0
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: pyrodex on February 11, 2025, 02:55:49 PM
Is there a chance we could get an interim patch to fix the broken browsers? I am more than willing to collect data needed as I can reproduce this.
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: brett.merrick on February 12, 2025, 01:31:33 AM
This seems to be related to having experimental features enabled in chrome or its derivatives.

Go to chrome://flags/#enable-experimental-web-platform-features and click Disable.
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: lanrat on April 02, 2025, 10:20:01 PM
Quote from: brett.merrick on February 12, 2025, 01:31:33 AMThis seems to be related to having experimental features enabled in chrome or its derivatives.

Go to chrome://flags/#enable-experimental-web-platform-features and click Disable.

That fixed it for me. Thanks!
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: momotombo on April 16, 2025, 07:45:43 PM
Started running into this issue right after I upgraded: 25.1.4_1 -> 25.1.5_5.

Worked around it by using firefox, but can also confirm it started working in chrome after disabling chrome://flags/#enable-experimental-web-platform-features

For what it's worth, I dug a bit into the HTML and it seems to be the dropdown plugin that's misbehaving when creating the dom element, instead of it being an actual HTML syntax error..
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: Patrick M. Hausen on April 16, 2025, 08:29:10 PM
Why would anyone enable "experimental web platform features"? Don't tell me that's (enabled) the default? Wiiilmaaa ...!
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: momotombo on April 17, 2025, 12:08:48 AM
It's not on by default. I'm a web developer so I enable that every once in a while to test out new features. Admittedly though, it should disable itself automatically after X amount of time, I didn't even remember I had it on.
Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: zhladik on May 23, 2025, 10:56:31 AM
I got the same problem, wasted a lot ot of time till I found this recommendation about fixing by disabling

   chrome://flags/#enable-experimental-web-platform-features.

I tried clearing the cache, disabling plugins, etc. It might be interesting to investigate this incidence mechanism a little deeper.w
Error message

   Form submission failed, as the <SELECT> element named '' was implicitly closed by reaching the end of the file

look very crazy. After Google deploys some experimental feature to the common version, maybe the problem reappears?



Title: Re: Can't edit firewall rules in Chrome/MSEdge?
Post by: h3zwe on July 13, 2025, 12:38:48 AM
Quote from: brett.merrick on February 12, 2025, 01:31:33 AMThis seems to be related to having experimental features enabled in chrome or its derivatives.

Go to chrome://flags/#enable-experimental-web-platform-features and click Disable.

That fixed it for me on Version 138.0.7204.96 (Official Build, ungoogled-chromium), though weird that it used to work with it enabled a few versions ago.

Quote from: Patrick M. Hausen on April 16, 2025, 08:29:10 PMWhy would anyone enable "experimental web platform features"? Don't tell me that's (enabled) the default? Wiiilmaaa ...!

OTA flashing my BlueRetro controllers via Bluetooth. I manually enabled it a few years back specifically for this feature.