RaspAP/raspap-webgui

reboot w/ WebUI -> WebUI Connection broken -> page reload -> send form data again -> another reboot

Closed this issue · 1 comments

Checklist

  • This is a bug report
  • I observed this bug on a clean install of the OS
  • I have followed the project prerequisites
  • I have searched this repository for existing issues
  • I checked the FAQ and official documentation before creating this issue
  • I have read and understand the issue reporting guidelines

Bug description

I encountered follwing beheaviour with the WebUI, I don't know if it is wanted this way.

I reboot the whole system with "System" -> "Reboot"

The browser tells me "Connection failed", with a button "try again"

When clicking on "try again", after the system is back up, Firefox wants to re-submit the form data, which causes the system to reboot again.

I guess the the reboot command is submitted again.
--> input type="submit" class="btn btn-warning" name="system_reboot" value="Reboot" in the page source code

URL in the browser stays at http://ip.of.the.system:used_port/system_info

You have to manually change the URL to the root path... --> http://ip.of.the.system:used_port/

Then the WebUI is accessible again.

Your environment

  1. Operating System: RPi OS 32-bit Lite
  2. Hardware and version: 3B+
  3. RaspAP version: V2.9.5
  4. Clean install of a compatible operating system? --> Yes
  5. RaspAP Quick Install or Manual setup? Quick install with curl
  6. Using default configuration? --> No, port for WebUI changed to 10000, installed without OpenVPN and AdBlock
  7. Simultaneous AP and managed mode? --> No
  8. Onboard wireless chipset or external adapter? --> Onboard
  9. Other software or services running with RaspAP? --> No

Steps to reproduce

Like said, it's reproducable behaviour, Browser used: Firefox 118.0.1 on Win 11

Screenshots

Additional context

These system buttons have needed attention for awhile. Thanks for raising this