Comments (9)
For some reason it is using localhost
rather than the docker network name.
Using Registry (consul) from http://localhost:8500/
from device-onvif-camera.
The env override is there properly: https://github.com/edgexfoundry/edgex-compose/blob/7890ef9232c37fd7451a8a36992d226649d52797/taf/docker-compose-taf-no-secty.yml#L27
Please upload complete logs of core-common-config so we can see if overrides are being applied. You can also check value in Consul.
from device-onvif-camera.
I am not able to recreate this issue using referenced compose file. I did have to modify the compose to eliminate PROFILE_VOLUME_PLACE_HOLDER
, but that only impacts Device Virtual.
level=INFO ts=2023-05-04T15:34:19.769427673Z app=device-onvif-camera source=registry.go:85 msg="Using Registry (consul) from http://edgex-core-consul:8500"
from device-onvif-camera.
@lenny-intel Would you please use the attached compose file that I generated by compose builder to try again? Thank you.
docker-compose.yml.zip
The full logs is as below.
cherry@cherry-VirtualBox:~/edgexfoundry/edgex-compose/compose-builder$ docker logs edgex-device-onvif-camera
level=INFO ts=2023-05-05T00:46:55.578772751Z app=device-onvif-camera source=config.go:392 msg="Loaded service configuration from /res/configuration.toml"
level=INFO ts=2023-05-05T00:46:55.58179513Z app=device-onvif-camera source=variables.go:377 msg="Variables override of 'Service.Host' by environment variable: SERVICE_HOST=edgex-device-onvif-camera"
level=INFO ts=2023-05-05T00:46:55.582219591Z app=device-onvif-camera source=config.go:161 msg="Using Configuration Provider access token of length 0"
level=INFO ts=2023-05-05T00:46:55.582358593Z app=device-onvif-camera source=config.go:367 msg="Using Configuration provider (consul) from: http://edgex-core-consul:8500 with base path of edgex/devices/2.0/device-onvif-camera"
level=INFO ts=2023-05-05T00:47:01.918504219Z app=device-onvif-camera source=config.go:556 msg="Configuration has been pushed to into Configuration Provider (1 envVars overrides applied)"
level=INFO ts=2023-05-05T00:47:01.91854325Z app=device-onvif-camera source=registry.go:61 msg="Using Registry access token of length 0"
level=INFO ts=2023-05-05T00:47:01.918550905Z app=device-onvif-camera source=registry.go:85 msg="Using Registry (consul) from http://localhost:8500"
level=WARN ts=2023-05-05T00:47:01.91898738Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:02.920372481Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:03.921400055Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:04.922881345Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:05.923747921Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:06.925096101Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:07.92662907Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:08.927877868Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:09.929364138Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:10.930908755Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:11.932851838Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:12.934993646Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:13.936390037Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:14.937632006Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:15.938921656Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:16.940809639Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:17.942551883Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:18.944180512Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:19.945998945Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:20.947884241Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
level=WARN ts=2023-05-05T00:47:21.949619232Z app=device-onvif-camera source=registry.go:118 msg="registry is not available"
from device-onvif-camera.
I have recreated the issue, after pulling the latest image for device onvif camera. So it is a recent change to the service or the SDK.
from device-onvif-camera.
Some how we are getting an old image. It is not doing Common config and loading from TOML.
msg="Loaded service configuration from /res/configuration.toml"
from device-onvif-camera.
I just merged a dependa-bot PR which will trigger a new image to be built.
Please try again once this pipeline has completed.
https://jenkins.edgexfoundry.org/blue/organizations/jenkins/edgexfoundry%2Fdevice-onvif-camera/detail/main/133/pipeline
from device-onvif-camera.
The pipeline failed. I left a note for DevOps to rerun it.
I also changed the image tag from latest
to main
which, should be the same image. But it pulled a new one and that image works fine.
from device-onvif-camera.
Test the new image and work fine. @lenny-intel Thank you.
from device-onvif-camera.
Related Issues (20)
- Failed to invoke device service device-onvif-camera call back from core-metadata when tried to discovery onvif camera HOT 2
- Geo vision- Get stream URI not working with Multicast HOT 2
- Geo vision - set network gateway not working correctly HOT 3
- Document how to disable Axis replay attack prevention
- Remove code that loads static provision watchers (functionality now in latest SDK)
- Hikvision-DS-2DE2A404IW-DE3- Get device capabilities gives an error HOT 4
- Hikvision-DS-2DE2A404IW-DE3- Get device service capabilities API gives an error HOT 4
- Hikvision-DS-2DE2A404IW-DE3- Set scopes API gives an error HOT 3
- Hikvision-DS-2DE2A404IW-DE3 camera- Configuration of Analytics profile - Add Configuration API not working HOT 5
- onvif camera + example app service HOT 9
- Get command should return server error instead of timeout error HOT 4
- Remove obsolete code for type-safety
- refactor: Change configuration and provision watcher file format to YAML
- Implement Start API to resolve Device SDK cache inconsistency, causing device not found errors HOT 15
- Swagger file is missing definitions for some schemas
- Replace credential scripts with curl commands
- SEO: Certain Google searches lead to the now defunct device-camera-go HOT 1
- Replace gorilla/mux with echo library
- The Hikvision NVR device (model: IDS-7816NX) has enabled Onvif, but the device-onvif-camera cannot be automatically discovered. HOT 2
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 device-onvif-camera.