Skip to content

nil pointer error in device-sdk-go when I run device-mqtt-go #166

Closed Answered by lenny-goodell
cglin7 asked this question in Q&A
Discussion options

You must be logged in to vote

@cglin7 , I assume you are running Device MQTT from command line in hybrid mode (other services running in docker).
If so, in 3.0 you need to provide the command line flags to let the service know where to get the common config (contains client config).
Please see this documentation for details: https://docs.edgexfoundry.org/3.0/getting-started/Ch-GettingStartedHybrid/#run-the-service-code-natively

Also note that the handling of error cause by missing common configuration have been improved for the upcoming 3.1 release on the main branch.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@cglin7
Comment options

Comment options

You must be logged in to vote
1 reply
@cglin7
Comment options

Comment options

You must be logged in to vote
2 replies
@cglin7
Comment options

@lenny-goodell
Comment options

Answer selected by cloudxxx8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants