Comments (5)
@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.
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.
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.
@ccloud622 do you feel like the issue is resolved?
from akri.
@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)
- Support annotation from Discovery handlers and Configuration HOT 3
- Version number management and PRs HOT 5
- Broker with multiple devices HOT 3
- BrokerPodSpec and initContainers resources `PLACEHOLDER` HOT 3
- A shared device Instance should get deleted only when all discovery handlers lose track of it
- Dependencies License check HOT 5
- RUSTSEC-2023-0052: webpki: CPU denial of service in certificate path building HOT 2
- udev-video-broker gets OOM error in microk8s HOT 2
- Remove dependency on outdated cross images HOT 6
- Controller pod restarts when instance watcher restarts HOT 1
- Transport error when Agent calls gRPC discover() to some Discovery Handlers
- Use rust-based coverage tools rather than tarpaulin HOT 1
- LoRaWAN Support HOT 7
- OPC-UA Instance ID: ApplicationName is not the best choice ? HOT 1
- Pods with unready Containers exist on this node, we can't clean the slots yet HOT 5
- containerd.socket mounting inside container - security concern / best practice deviation? HOT 5
- agent-registration.sock and udev.sock socket files world readable HOT 2
- Multiple configuration doesnt work -- helm install fails on rbac.enabled=false HOT 1
- RUSTSEC-2024-0003: Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akri.