robot
robot copied to clipboard
There is a problem with video streaming to webserver.
I'm able to open cam.jpg independently in the browser (http://localhost/cam.jpg). But the webserver is not able to get the image (there is the error "HTTP 404"). The control of the motor is working on webserver. I have installed RPi_Cam_Web_Interface with the default port (leaved it empty) and with the nginx option (instead of apache).
What happens if you just go to http://localhost on port 80? Nginx serves the cam on port 80 and should pass through other requests to your flask server.
I have tried http://localhost on port 80 but I have the result: "502 Bad Gateway".
hm sounds like a gunicorn issue - do you have a file at /home/pi/drive.sock ?
When you do sudo systemctl start web do you get any issues?
I have no issue when I do sudo systemctl start web, but it seems that I do not have any file at /home/pi/drive.sock.
I have the same effect. Server runs on port 8000 for me keeps trying to load http://192.168.1.74:8000/cam.jpg?t=1498686537583 failing then trying the next t=xxxxxxxxx I'll have a dig around and see if I can figure out what's going wrong
Same here, looks like we need a drive.sock file
Is there a solution for this? I'm having the same problem.