Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
6 tasks done
PAINKILLER0928 opened this issue Oct 8, 2023 · 1 comment · Fixed by #1412
Closed
6 tasks done

Comments

@PAINKILLER0928
Copy link

PAINKILLER0928 commented Oct 8, 2023

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

@billz
Copy link
Member

billz commented Oct 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants