Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with video streaming to webserver. #6

Open
slavicp opened this issue Mar 14, 2017 · 6 comments
Open

There is a problem with video streaming to webserver. #6

slavicp opened this issue Mar 14, 2017 · 6 comments

Comments

@slavicp
Copy link

slavicp commented Mar 14, 2017

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).
5
1
2
3
4

@lukas
Copy link
Owner

lukas commented Mar 14, 2017

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.

@slavicp
Copy link
Author

slavicp commented Mar 15, 2017

I have tried http://localhost on port 80 but I have the result: "502 Bad Gateway".
6

@lukas
Copy link
Owner

lukas commented Mar 15, 2017

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?

@slavicp
Copy link
Author

slavicp commented Mar 17, 2017

I have no issue when I do sudo systemctl start web, but it seems that
7
I do not have any file at /home/pi/drive.sock.

@fmacrae
Copy link

fmacrae commented Jun 28, 2017

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

@p-ml
Copy link

p-ml commented Nov 29, 2017

Is there a solution for this? I'm having the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants