kerberos-io / web

(DEPRECATED) An open source GUI to configure the machinery and to view events that were detected by the machinery.
https://www.kerberos.io
226 stars 69 forks source link

No Activity shown in dashboard - Issue with IP camera Onvif RTSP endpoint #71

Closed mcgyver83 closed 7 years ago

mcgyver83 commented 7 years ago

I'm using an Ip cam streaming using rtsp (http://192.168.0.101:554/onvif1 works fine with vlc),a raspberry pi2, web 2.1.0 and machinery 2.1.0. In the Activity box I see "No stream, is the machinery running?" and in the chrome developer network tab I see two calls:

the second one seems a call uses the port I configured in the stream.xml but I also set stream=false in the same file because now I'm only interested in see the ip cam in the kerberos.io interface. I tried also with stream=true but no luck: nothing is shown in the Activity box.

cedricve commented 7 years ago

Can you confirm an initial frame is saved, can you see some images in the calendar overview? If not than there is something wrong while connecting to your ip camera.

If you want to show a live streaming in he web interface you will need to enable the stream.

mcgyver83 commented 7 years ago

Nothing in the calendar view. Attached the log of "sudo systemctl start kerberosio.service" and a couple of screenshot. In the log there is the right rtsp url that works fine with vlc :(

`15/01/2017 10:39:56.837 INFO [trivial] Logging is written to: /etc/opt/kerberosio/logs/log.stash 15/01/2017 10:39:56.838 INFO [trivial] Parameters passed from commandline: 15/01/2017 10:39:56.839 INFO [trivial] Reading configuration file: /etc/opt/kerberosio/config/config.xml 15/01/2017 10:39:56.846 INFO [trivial] Final configuration:

cedricve commented 7 years ago

Looks like the machinery wasn't able to connect to the IP camera (rtsp://192.168.0.101:554/onvif1). Did you try any other RTSP endpoints?

mcgyver83 commented 7 years ago

I don't know if there are others endpoints. I tried with vlc and this works fine ;(

cedricve commented 7 years ago

Can you give more details about your IP camera?

mcgyver83 commented 7 years ago

Sure! It is a Sricam SP005 http://www.sricam.com/product/id/35eb6c5942fe406fb5eb422ca4cd1cdb.html

cedricve commented 7 years ago

Can you try: rtsp://192.168.0.101:554/onvif2. Please reboot the Raspberry Pi after changing the configuration.

mcgyver83 commented 7 years ago

I tried on vlc and "rtsp://192.168.0.101:554/onvif2" isn't working. I tried it in stream.xml file but no luck, again "No stream, is the machinery running?"

`16/01/2017 23:55:22.283 INFO [trivial] Logging is written to: /etc/opt/kerberosio/logs/log.stash 16/01/2017 23:55:22.291 INFO [trivial] Parameters passed from commandline: 16/01/2017 23:55:22.291 INFO [trivial] Reading configuration file: /etc/opt/kerberosio/config/config.xml 16/01/2017 23:55:22.328 INFO [trivial] Final configuration:

cedricve commented 7 years ago

Hey @mcgyver83 can you try again with version 2.2.0?

cedricve commented 7 years ago

Discussion proceed in machinery repository. RTSP bug: Issue with IP camera Onvif RTSP endpoint kerberos-io/machinery#84