Problem with webcam crashes



Anyone who has problem with the webcam goes black and then after few seconds you get a unknown eror on the webpage.

I get this in the terminal efter I reload the page


Is the webcam reachable via http://octopi.local:8080/?action=stream ?


That page goes black as well


Okay, so I'd guess that OctoPrint just serves up what mjpg-streamer is providing. And it looks like mjpg-streamer is what has crashed. I gave you the link above to that service.

There appears to be a new issue on frankforpresidents' github which might be what you're seeing.

As for work-arounds, if you want to stop the webcam service pkill mjpg-streamer and wait about two minutes if you're using the OctoPi image (it runs a daemon that will restart it).