OctoPrint webcam woes with Ubuntu and Le Potato

Camera model

Paobas C920 1080P Webcam Amazon.com

What is the problem?

No picture from webcam. Tests in Classic Webcam settings don't work either.

What did you already try to solve it?

Searched and read other posts, but I don't really know what to try.

Have you tried running in safe mode?

Yes, no change.

Did running in safe mode solve the problem?


Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20240527224806.zip (20.3 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

I’m fairly new to Linux and this is my first experience with an SBC. I have a Le Potato running Ubuntu 22.04.4 LTS with OctoPrint 1.10.1 for my Ender 3 v2. I followed this guide to get it running:

It seems to work except for the web cam. I don't know why the camera doesn't work or why. works to connect to OctoPrint.
My stream and snapshot URLs are &

I don't have a desktop installed in Ubuntu, although I may try to get one installed to test the webcam there.

Thanks in advance for any help!

At a glance, I think your Camera urls are incorrect.

They should not include the port 5000. If you installed HAProxy, you should not include a port in the url in any way. If you did not install HA, I think the port is 8001 for the first camera. Also when going direct to port 8001, you should not include the camera routing..

For example:

With [HA] I think it would be this:

Without [HA] I think it would be this:

For both cases, snapshot can be local only in the settings.

Keep in mind the snapshot URL here is what would be in the settings. It will not work from a remote system.

1 Like

Thanks, JC.
I think I am using HAProxy, at least there was a step in the guide that said to answer "y" to the question "Use haproxy? [y/n]". Is there a way that I can check to be sure?

I'll try these URLs as soon as I remember while I am at home.
Thanks again!

If you are using HA, you should be able to get to your OP instance without the port 5000.

If you can do that, it would confirm that you have HA installed and at least the mapping for Octoprint is set up in it.

1 Like

Apparently, HA is NOT installed or at least not configured correctly. Without including the port, I get an error:

503 Service Unavailable
No server is available to handle this request.

The article I followed also had me configure a template service at port 5000 and so the real OctoPrint instance is port 5001.
That all being said, the URLs you suggested for without HA are working correctly!!!!
Thank you very much!

1 Like