edgexfoundry / edgexfoundry/device-sdk-c
Error when editing device through core UI in custom device service based upon device-sdk-c
- Dominant language
- C
- Stars
- 45
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
# 🐞 Bug Report
### Affected Services [**REQUIRED**]
The issue is located in: Metadata
### Is this a regression?
Yes, the previous version in which this bug was not present was: N/A
### Description and Minimal Reproduction [**REQUIRED**]
When connecting a custom device service based on device-sdk-c through MQTT messagebus to edgex, after I have created a device, if I try to edit that device through the core UI (for example, trying to change a parameter in the protocols section, or changing the device profile), core-metadata says there is a timeout when launching a request to edgex/{name of device service}/validate/device. However, according to the [documentation](https://docs.edgexfoundry.org/3.1/microservices/device/V3Migration/) of version 3.1, the /validate/device REST enpoint has been removed and substituted by Sytem Events. Why is core-metadata trying to acces it?
## 🔥 Exception or Error
core-metadata logs show this error:
level=ERROR ts=2025-01-30T12:08:02.188408544Z app=core-metadata source=device.go:183 X-Correlation-ID=9f3ff78f-4bbb-4819-b0bb-501b1ff5fac5 msg="Error sending request to topic 'edgex/{NAME OF SERVICE}/validate/device' -> timed out waiting for response on edgex/response/device-inferencer-opcua/092bddf9-1092-42bf-9ddd-d70250953631 topic"
## 🌍 Your Environment
**Deployment Environment: Ubuntu 22.04 in AMD64 system**
**EdgeX Version [**REQUIRED**]: 3.1.1 for core services, 4.0.0-dev1 for device-sdk-c**
**Anything else relevant?**
Contributor guide
Assessment
This issue has not been assessed yet.