Closed M0hanrajp closed 3 months ago
Hi @M0hanrajp, these questions are not EdgeX bug, they are common usage issues, maybe you should move to the discussion channel.
It's not a good idea if you want to test EdgeX in the WSL. You need a pure Linux system like Ubuntu version 22 or 23.
you have to config the mqtt broker properly, because the default mqtt broker of device-mqtt is not the internal mqtt bus https://github.com/edgexfoundry/device-mqtt-go/blob/35de5baf133cb3849b13998f5bd615ef0c638656/cmd/res/configuration.yaml#L30
Also, you need to set up the MQTT simulator on your own, or nothing will send the response to the MQTT response topic.
@jiekechoo & @cloudxxx8
Thanks for both of your response.
π Bug Report
Affected Services
The issue is located in: device-mqtt, while performing get, set operations via edgex UI localhost:4000, 5XX error response is reported for performing get or set, additionally the ping operation from CLI does not return 200 response: ```bash mpunix@LIN-MP22QN1X:~/edgex-foundry/edgex-compose-3.1.1-mqtt$ curl http://localhost:59982/api/v3/ping | json_pp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 90 100 90 0 0 7930 0 --:--:-- --:--:-- --:--:-- 9000 { "apiVersion" : "v3", "serviceName" : "device-mqtt", "timestamp" : "Mon Jul 15 00:35:52 IST 2024" } ``` ### Is this a regression?Not sure because I have not worked on previous versions.
Description and Minimal Reproduction
make gen ds-mqtt mqtt-bus
π₯ Exception or Error
device-mqtt logs:
π Your Environment
Deployment Environment: Windows 11, WSL2 - Ubuntu 22.04
EdgeX Version: 3.1.1
Anything else relevant? No.
Thanks