You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally thought this was a Unifi issue but the following partial tcpdump indicates there's something wrong with onvif_srvd. hdovideo (the unifi protect NVR) chat about the date and time and then when it tries to authenticate with rainbow (where onvif_srvd is running) the service returns a 500. I tried to make the conversation as readable as possible here. am I missing a setting or something? I ran onvif_srvd with: /usr/local/sbin/onvif_srvd --no_fork --ifs wlan0 --port 80 --user admin --password admin --scope onvif://www.onvif.org/name/Rainbow --scope onvif://www.onvif.org/type/NetworkVideoTransmitter --scope onvif://www.onvif.org/Profile/Streaming --scope onvif://www.onvif.org/location/HighDesertOasis --scope onvif://www.onvif.org/hardware/RaspberryPiB --name RTSP --width 960 --height 540 --url rtsp://10.247.13.216:8554/unicast --type H264
Well, what I see is that you requested GetSystemDateAndTime
You received the response: GetSystemDateAndTimeResponse
You requested GetServices, but not a simple one, but with WS-Security support. (with the user and password specified)
The server responded that it does not understand you:
Sorry, I have not worked with WS-Security, you should figure out how to work with it yourself, At a minimum, it needs to be enabled during the build, see the readme: cmake -B build . -DWSSE_ON=1
You must implement the verification part YOURSELF (password validation, etc. via SSL or similar).
You must add this functionality yourself!
Refer to the ONVIF specification. see manual: https://www.genivia.com/doc/wsse/html/wsse.html
It looks like all that was needed was compiling with -DWSSE_ON=1 no code changes. Here's a raspberry pi B running v4l2rtspserver and onvif_srvd all locally, imported into Unifi protect with admin/admin. awesome!
I originally thought this was a Unifi issue but the following partial tcpdump indicates there's something wrong with onvif_srvd. hdovideo (the unifi protect NVR) chat about the date and time and then when it tries to authenticate with rainbow (where onvif_srvd is running) the service returns a 500. I tried to make the conversation as readable as possible here. am I missing a setting or something? I ran
onvif_srvd
with:/usr/local/sbin/onvif_srvd --no_fork --ifs wlan0 --port 80 --user admin --password admin --scope onvif://www.onvif.org/name/Rainbow --scope onvif://www.onvif.org/type/NetworkVideoTransmitter --scope onvif://www.onvif.org/Profile/Streaming --scope onvif://www.onvif.org/location/HighDesertOasis --scope onvif://www.onvif.org/hardware/RaspberryPiB --name RTSP --width 960 --height 540 --url rtsp://10.247.13.216:8554/unicast --type H264
The text was updated successfully, but these errors were encountered: