Missing configuration causes Segmentation violation when running EdgeX sample Device Service #1469
Replies: 5 comments
-
@carlosd-29 , In 3.0 the common configuration has been removed from the service's private configuration. |
Beta Was this translation helpful? Give feedback.
-
@carlosd-29 , yes, the edgexfoundry/edgex-docs#1131 issue has already been submitted for that . See my comments in the issue to where the device file should be linked. |
Beta Was this translation helpful? Give feedback.
-
@carlosd-29 , I have also created a docs issue for the section you are using to add the required flags |
Beta Was this translation helpful? Give feedback.
-
@carlosd-29 , I have moved your issue to Discussions so it is more visible to others. Common Config is a big change in 3.0 and suspect we'll have others needing this same information. I have merged docs fix for edgexfoundry/edgex-docs#1132 and If this has resolved the issue you are running into, please mark this discussion as answered. |
Beta Was this translation helpful? Give feedback.
-
@lenny-intel Thanks I checked with the files included there and it's running now with no problem |
Beta Was this translation helpful? Give feedback.
-
Question
Affected Services [REQUIRED]
The issue is located in: Device ServiceIs this a regression?
Yes, the previous version in which this bug was not present was: 2.1Description and Minimal Reproduction [REQUIRED]
I am trying to build a custom device service and I've noticed a couple of issues. One is that both device and profile configurations are using the same file (random-generator-device.yaml). Another is that the configuration.yaml is missing some components. For example RequestTimeout was missing and producing:
I added that parameter and now I'm getting:
🔥 Exception or Error
🌍 Your Environment
Deployment Environment:
Ubuntu 20.04
EdgeX Version [REQUIRED]:
3.0
Anything else relevant?
Beta Was this translation helpful? Give feedback.
All reactions