Closed luismbo closed 7 years ago
Hey, this might be an issue with URL formatting do you have any other output streams (RTSP)?
@cedricve thanks for your quick reply. I have a cheap D-link DCS-932LB. AFAICT, it does not support RTSP. Googling turned up some potential RTSP URLs I might be able to use with this camera, but I couldn't connect using VLC.
I've tried to input many different URLs into Kerberos.io's settings, but nothing ever shows up in the system log. Is that expected? (I was expecting to see some connection failures or similar.)
Well that's an issue with current version of Kerberos.io. If the ip camera is connected to the wifi, Kerberos.io will keep trying to access the endpoint, although the endpoint may not exists. For the moment there is no way to detect this. You need to be sure about the endpoint, other wise it is stuck for ever.. Try to restart the virtual machine after your configured a new endpoint.
Hope this will be fixed in next versions..
Check this issue for more information kerberos-io/machinery#48
@cedricve That might have been it. docker rm
and docker-compose up
seems to have fixed things: I can now see the live stream on the dashboard page. However, something strange started happening: clicking on the "Settings" takes me to the dashboard instead, so I can no longer change any settings.
Can you send me the system files, which you can download on the system page.
Here you go! kerberosio-configuration.tar.gz
Looks ok. Can you remove the docker containers again, and add a project prefix:
docker-compose -p camera-frontdoor up -d
Same thing. After I set up the camera, accessing /settings
returns a 302 Found (rather than the usual 200 OK) with the Location
header pointing to /
.
Can you ssh into the docker container and send me the contents of following file /var/www/web/app/storage/logs/laravel.log.
It looks like there is still something cached, you should try to remove all the images as well, so the kerberos images are downloaded again.
Here it is: laravel.log.txt.
BTW, it's my first time using docker. I got into the docker container using sudo docker exec -i -t camerafrontdoor_web_1 /bin/bash
. Is there a better way?
@luismbo no that's fine 👍
By the way from the logs I see that it tries to load http://localhost:32778//capture//1483734134_6-372374_frontdoor_98-0-630-479_7875_20.jpg, but it can't.
Can you click on "Remove images" on the system tab, probably you will then be able to access the settings page again.
Yep, that worked. Thanks!
Can you fake some motion, and see if images occur on the daily overview and if you then can still access the settings page?
I didn't have to fake any motion. After the stream resumes, it seems like the first frame is always considered motion and then the settings page stops working.
True, after a restart it will take an initial frame. Can we open a teamviewer session? Easier to debug. You can add me on skype: cedricverst
Yes, sure. Setting it up.
Not sure how TeamViewer works. Want to guide me through it via https://appear.in/kerberos-docker-issue-2?
After debugging, we can conclude this is a a docker related issue. I will check this and come back to you @luismbo.
@luismbo issue will be resolved for docker in a couple of minutes. Currently Travis-CI is checking the building and create a new docker image. Progress over here: https://travis-ci.org/kerberos-io/web/builds/189856280
Grabbed a new docker image, but now I'm back to square 1. It seems to be getting stuck trying to connect to my IPCamera. I suppose I'll wait for a fix to https://github.com/kerberos-io/machinery/issues/48 so the logs give me some sort of hint what's going on. I'm using the same URL as before: double-checked that against the configuration tarball I sent you before.
This is typical behaviour with cheap IP camera's, you could try to restart the IP camera and your docker container.
I've set up the kerberos.io docker image as follows:
I can see the two containers running:
I can login into the web interface, but this is what I get:
I went into the settings panel and tried to set up an IPCamera pointing it to
http://user:pass@192.168.1.118/video.cgi
(I've confirmed this mjpg stream works from my browser) but nothing shows up in the logs.Any hints on how I can troubleshoot this? (Thanks in advance!)