Giter Club home page Giter Club logo

Comments (5)

kate-goldenring avatar kate-goldenring commented on June 26, 2024

@ccloud do your cameras require authentication? If so, you can configure kubernetes secrets to ensure the cameras can be authenticated during discovery (to determine properties for filtering): https://docs.akri.sh/architecture/agent-in-depth#passing-additional-properties-to-discovery-handlers.

@johnsonshih I can't remember, but do we have plans for enabling discovery without authentication (using a different identifier for cameras than ones that need auth)?

from akri.

ccloud622 avatar ccloud622 commented on June 26, 2024

Hi Kate,

We did tried to create secrets and added into the discovery properties of the configuration but it is still not discovering the devices attached to the network. Our camera shows remote discovery as disabled, but wsdiscovery is enabled for it.

Is there a way to get detail logging of the soap request to check if authentication is getting picked up or not and if there is a way we can bypass discovery handler (if we have the IP address of the camera) so that the broker can be created through it.

from akri.

johnsonshih avatar johnsonshih commented on June 26, 2024

From the onvif discovery handler trace, it looks like the camera doesn't respond to the WS Discovery Probe message. https://github.com/project-akri/akri/blob/main/discovery-handlers/onvif/src/discovery_impl.rs#L737
Please make sure the camera is reachable from the cluster and is discoverable.

Once your camera is discoverable, please uses Akri v0.12.9 and remove ip and mac address filters in Akri Configuration discoveryDetails. The Onvif discovery handler in v0.12.9 had changed to discover authentication enabled Onvif cameras as long as the ip and mac addresses are not used (it requires credential to get camera's ip and mac address). The Onvif discovery handler exposes camera's uuid to broker. The broker needs credential to access the camera, it can use the uuid as a hint to decide what credential to use.
you can check the doc for the secret usage: https://docs.akri.sh/discovery-handlers/onvif#discovery-handler-discovery-properties-settings

the demo contains end-to-end flow for discovering/accessing authentication enabled Onvif cameras: https://docs.akri.sh/demos/onvif-authentication-access

from akri.

lilustga avatar lilustga commented on June 26, 2024

@ccloud622 do you feel like the issue is resolved?

from akri.

kate-goldenring avatar kate-goldenring commented on June 26, 2024

@ccloud622 we are closing this issue and marking it as resolved, but please reopen it if your issue is persisting

from akri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.