Jump to content
  • 0

[Bug Report / 5.02.A.4.0-0 Draft] Main Web UI hangs when Transmission WebUI hangs via ip http proxy


Question

Posted (edited)

Hi Keenetic Team,

Wanted to report a bug I ran into on the latest draft firmware regarding the built-in reverse proxy feature (ip http proxy).

I was accessing my Transmission WebUI through Keenetic’s proxy (ip http proxy tr -> 127.0.0.1:78). The interface loaded a bit broken initially, and as soon as I tried changing the theme settings inside Transmission, the main Keenetic Web UI completely froze and became unreachable.

Here are the quick details from my setup and testing:

  • Model & Firmware: Keenetic Hero (KN-1011-EU) running KeeneticOS 5.02.A.4.0-0 (Draft)

  • What still worked: Internet access, Telnet/CLI, CIFS/SMB shares, and USB storage were all fine.

  • What failed: The main Web UI (both HTTP and HTTPS on default and custom ports like 65083) stopped accepting browser connections.

I logged in via Telnet to recover the WebUI without rebooting. I tried disabling the proxy (no ip http proxy tr), stopping the torrent service (no service torrent), and resetting/restoring custom HTTP/SSL port configurations (no ip http ssl port, restarting service http). However, none of these CLI commands brought the web interface back. The web server remained completely unresponsive.

I ran my show threads output and logs through an AI assistant to figure out what was happening. The analysis pointed out that a hanging HTTP stream from the proxied WebUI likely triggered a deadlock (CORE lock) in ndm's HTTP worker threads, which explains why CLI commands couldn't clear the lock immediately.

I've attached the initial self-test log captured while the Web UI was locked out.

Edited by KYTECHNGAMING

1 answer to this question

Recommended Posts

  • 0
Posted

Quick update on what triggered the issue and the current state:

  • Exact Trigger: I was using the Dark Hive theme in Transmission Web Control. The moment I switched the theme dropdown back to Default, the interface hung, which then locked up the main Keenetic Web UI.

  • Self-recovery via timeout: After some time without rebooting, the hanging TCP socket/stream finally hit an OS-level timeout, releasing the CORE lock on ndm.

  • Execution of queued commands: Once ndm unblocked, the CLI commands I ran earlier (no ip http proxy tr, no service torrent) executed in sequence.

I re-enabled the torrent service (service torrent) to test it again. While the service is up, Transmission Web Control under the Default theme currently has broken UI rendering:

  • Text labels are missing/blank across the interface and inside the Config dialog window.

  • It gets stuck on "Connecting...", and clicking the UI reload/restore buttons does not fix the state.

So while the router eventually recovers once the socket times out, a broken/hanging response from a proxied WebUI still temporarily freezes the main Keenetic management interface. Better thread isolation or stricter timeouts for ip http proxy upstreams would prevent third-party UI rendering issues from affecting the main Web UI.

Attached are the screenshot of the broken Web Control interface and the latest self-test log. Hope this helps the dev team!

image.thumb.png.04d55f00688b47c54d4679e799620c5a.pngimage.thumb.png.5c17cc7f553d2142aeaacf42a475c14a.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...