TheSpaghettiDetective / obico-server

Obico is a community-built, open-source smart 3D printing platform used by makers, enthusiasts, and tinkerers around the world.
https://obico.io
GNU Affero General Public License v3.0
1.46k stars 295 forks source link

Streaming not working - black page, 0kbps, continually buffering #661

Closed puterboy closed 2 years ago

puterboy commented 2 years ago

Just set up my private server running on my Ubuntu Linux box - all works fine -- EXCEPT webcam buffers continuously with zero frames. My webcam streaming works perfectly in Octoprint itself (e.g., on the "Control" tab) as well as when I used the free account on hosted on Obico's own servers. Similarly, I have no problem seeing the webcam stream on various Android Octoprint apps (e.g., OctoApp, OctoRemote).

However, both on the web version and on the Android App, I don't get any streaming with Obico itself.

The Obico Octoprint plugin troubleshooting page shows that connection to Server & Webcam are OK. And I see the webcam stream fine under the Octoprint "Control" tab.

Octoprint is hosted on an RPI4 so plenty of power there and the mjpeg-streamer video is smooth.

Any idea what could be blocking the webcam stream for Obico server?

(Not sure if this is relevant but the Tunneling page (http://myserver:3334/tunnels/1/) shows "connection refused", though general web access via http://myserver:3334/ works fine)

puterboy commented 2 years ago

Never mind. My problem was that I left out the port 3334 in django.