luci: luci-app-pbr: when restarting pbr, web interface hangs

Is there an existing issue for this?

  • I have searched the existing issues

screenshots or captures

screenshot

Actual behaviour

  1. Click the “restart” button in the pbr page.
  2. The page is shadowed waiting for sefvice restart.
  3. Nothing changes until I refresh the page.

Expected behaviour

The page returns to normal mode after service has restarted.

Steps to reproduce

  1. Go to Services → Policy based routing
  2. Click “Restart”

Additional Information

NAME="OpenWrt"
VERSION="24.10.0-rc4"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 24.10.0-rc4"
VERSION_ID="24.10.0-rc4"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r28211-d55754ce0d"
OPENWRT_BOARD="ath79/nand"
OPENWRT_ARCH="mips_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 24.10.0-rc4 r28211-d55754ce0d"
OPENWRT_BUILD_DATE="1734915335"

What browsers do you see the problem on?

Firefox

Relevant log output

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

@mikhirev thanks for reporting this, having said that, 32 seconds to start pbr is unusual.

@stokito I’d welcome any help with javascript to handle longer than 30 seconds RPCD calls both for luci-app-pbr and luci-app-adblock-fast.