Error from messaging.go but I am not trying to publish #59
-
Hi Team, I am getting this error: source=messaging.go:231 msg="MessageBus trigger: Could not publish to topic '' for pipeline 'Enrich': Missing configuration 'PublishHostInfo' : Unable to create a connection for publishing" |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Please provide the version of EdgeX you are using. |
Beta Was this translation helpful? Give feedback.
-
What application service are you running? Custom or app-service-configurable? Not the error is because Not from the code the only way it sets to line 231 is if the |
Beta Was this translation helpful? Give feedback.
-
Perfect! Since is checking for ResponseData != nil, I set ResponseData to nil and now I don't have the error. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
What application service are you running? Custom or app-service-configurable?
Not the error is because
PublishHostInfo
is not set when it goes to publish.Not from the code the only way it sets to line 231 is if the
ResponseData
is set.https://github.com/edgexfoundry/app-functions-sdk-go/blob/v2.1.0/internal/trigger/messagebus/messaging.go#L200-L236