nunofgs / docker-octoprint

Dockerfile to set up Octoprint with x86, armv6, armv7 and arm64 support!
https://hub.docker.com/r/nunofgs/octoprint/
GNU Affero General Public License v3.0
58 stars 32 forks source link

How to debug mjpg_stream timeout #34

Closed h3x4d3c1m4l closed 5 years ago

h3x4d3c1m4l commented 5 years ago

Hi,

I'm having some trouble viewing the webcam image on my RPi 3B with ArchLinux. Before I installed aarch64, I used the Alpine ARMv7 image and this worked great. After installing ArchLinux aarch64 and using the Alpine ARM x64 image, mjpg_streamer times out. Even when navigating directly to the camera URL my browser keeps loading.

When trying the snapshot test from OctoPrint, the following can be seen in the Docker log: https://pastebin.com/EiEXcMtD

This is my docker-compose config: https://pastebin.com/Eyyr099X

Hope you can help me to debug this :) The webcam I use is a Microsoft LifeCam HD-5000.

h3x4d3c1m4l commented 5 years ago

I'm not sure what fixed it, but it works now... I forgot to run locale-gen on Arch, so I did that and rebooted the Pi. After the reboot it still did not work. After another reboot it suddenly started working 😕