Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Refreshing the RubberNugget webapp triggers a hard crash #7

Closed
skickar opened this issue Apr 26, 2022 · 2 comments
Closed

Refreshing the RubberNugget webapp triggers a hard crash #7

skickar opened this issue Apr 26, 2022 · 2 comments

Comments

@skickar
Copy link
Contributor

skickar commented Apr 26, 2022

When adding new payloads, the web interface will sometimes crash hard, and will not come back up until a reboot.

Issue seems possibly related to pasting? Deleting the new folders will sometimes fix the issue, other times it won't.

Issue may be related to multiple payloads with the same name. Comes up when creating payloads in other OS category folders.

Only way to fix is hit reset button or unplug and plug in again.

Symptoms:

  1. USB device disconnects (reboot) and neopixel turns off (if it was on)
  2. Web request hangs (no response)
  3. Rolling back last file operation does not fix the issue
  4. Unplug or reset button fixes issue

Noted that another user could connect but the current user could not make a successful web request.

@skickar
Copy link
Contributor Author

skickar commented May 7, 2022

To reproduce this bug:

  1. Connect to Nugget's AP
  2. In browser, navigate to web interface at 192.168.4.1
  3. Click the "Run" tab
  4. Observe crash via USB disconnect, Wi-Fi disconnect

@skickar skickar closed this as completed May 11, 2022
@AlexLynd
Copy link
Member

This issue is fixed in the latest release! v1.0.3 mitigates this issue which was caused by a loop that creates a new String array every time a page is refreshed.

@AlexLynd AlexLynd reopened this May 11, 2022
@AlexLynd AlexLynd changed the title Web interface crash Refreshing the RubberNugget webapp triggers a hard crash May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants