ratos.local server crashes while monitoring camera live feed

Hi, I like to keep my laptop open with the ratos.local or localip up so I can watch the webcam while I work. I've noticed that if I leave the tab open for a while unattended though, or open it from too many devices, or if I just use my printer normally for a few days, the webpage will go down and no longer load. I haven't found any way to fix this without just rebooting the entire printer, and I still haven't figured out the exact conditions to replicate it, but keeping the tab open, especially on multiple devices seems to be the biggest factor. The first giveaway that the webpage dropped is that my camera live feed freezes, and so do all the system temperatures/diagnostics. After that it won't reload. I'm not sure exactly how the Pi sends gcode instructions to the MCU, if it's piecemeal or the entire file at once, but the printer reliably continues printing as normal after the web interface goes down. I've had to cancel some >24h prints because of this. No web server means no interface, so I can't pause it and reload filament for example. I don't know if it's a Mainsail or a Klipper issue, and I don't know how to reset it without canceling a print job/killing the entire system. Maybe ssh into the pi and reset mainsail or something? I'm really not sure, but it happens consistently - I reboot my printer maybe 1-4x/week at the moment.
2 Replies
blacksmithforlife
sounds like mainsail web server is crashing - probably best to post a issue on their github https://github.com/mainsail-crew/mainsail
GitHub
GitHub - mainsail-crew/mainsail: Mainsail is the popular web interf...
Mainsail is the popular web interface for managing and controlling 3D printers with Klipper. - mainsail-crew/mainsail
EEIN
EEINOP7mo ago
thanks
Want results from more Discord servers?
Add your server