What is the problem?
Camera not working, model: https://www.ebay.ca/itm/Camera-Module-Board-5MP-Webcam-Video-1080p-720p-for-Raspberry-Pi-3-Green-W3F5/123883948949?
Camera appears to be on, red led is on. Webcam stream loads indefinitely with no image. All the output I have put below indicates to me that the camera is working so I am completely stumped as to what is going on. The stuff below is essentially a compilation of all the suggested things to try from previous posts on the forum. Also I split all the links below since I cannot post more than 2 links per post.
What did you already try to solve it?
pi@octopi:~ $ vcgencmd get_camera
supported=1 detected=1
*pi@octopi:~ $ raspistill -o first-light.jpg*
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Tried different browser (Chrome and Edge) and on mobile
ip_address:8080/?action=snapshot - not working
pi@octopi:~ $ ps -ax|grep mjpg
466 ? Sl 0:45 ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_raspicam.so -fps 101140 pts/0 S+ 0:00 grep --color=auto mjpg
pi@octopi:~ $ ps -ax|grep webcam
427 ? S 0:00 /bin/bash /root/bin/webcamd
1148 pts/0 S+ 0:00 grep --color=auto webcam
pi@octopi:~ $ sudo service webcamd start
-> No change
pi@octopi:~ $ curl -o ~/screenshot.png "same 8080 link, cant post"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:35:13 --:--:-- 0
This just continues indefinitely
pi@octopi:~ $ systemctl status webcamd
β webcamd.service - LSB: webcam daemon
Loaded: loaded (/etc/init.d/webcamd; generated; vendor preset: enabled)
Active: active (running) since Mon 2019-12-09 23:17:04 EST; 20h ago
Docs: man:systemd-sysv-generator(8)
Process: 402 ExecStart=/etc/init.d/webcamd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/webcamd.service
ββ427 /bin/bash /root/bin/webcamd
ββ466 ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_raspicam.so -fps 10
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: resolution........: 640 x 480
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: camera parameters..............:
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: www-folder-path......: ./www-octopi/
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: HTTP TCP port........: 8080
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: HTTP Listen Address..: (null)
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: username:password....: disabled
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: commands.............: disabled
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: starting input plugin input_raspicam.so
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: starting output plugin: output_http.so (ID: 00)
Dec 09 23:17:05 octopi mjpg_streamer[466]: MJPG-streamer [466]: Starting Camera
pi@octopi:~ $ curl -v http://local host:8080/
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8080 (#0)
>GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.52.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-type: text/html
< Connection: close
< Server: MJPG-Streamer/0.2
< Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0
< Pragma: no-cache
< Expires: Mon, 3 Jan 2000 12:34:56 GMT
<
<html>
<head><title>mjpg_streamer test page</title></head>
<body>
<h1>Snapshot</h1>
<p>Refresh the page to refresh the snapshot</p>
<img src="./?action=snapshot" alt="Snapshot">
<h1>Stream</h1>
<img src="./?action=stream" alt="Stream">
</body>
</html>
* Curl_http_done: called premature == 0
* Closing connection 0
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)
Camera type: Generic 15 pin camera, link given before
Raspberry Pi type: Rasbperry Pi 3B+
OctoPrint version, OctoPi version: OctoPrint 1.3.12 running on OctoPi 0.16.0
3D Printer: Creality CR10
3D Printer Firmware: N/A