Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT Message Bus not functional. #2466

Closed
lenny-goodell opened this issue Apr 3, 2020 · 0 comments
Closed

MQTT Message Bus not functional. #2466

lenny-goodell opened this issue Apr 3, 2020 · 0 comments
Assignees
Labels
3-high priority denoting release-blocking issues bug Something isn't working geneva

Comments

@lenny-goodell
Copy link
Member

🐞 Bug Report

Affected Services

The issue is located in: core-data

Is this a regression?

No, never worked

Yes, the previous version in which this bug was not present was: ....

Description and Minimal Reproduction

Configure MessageQueue to use mqtt

[MessageQueue]
Protocol = 'tcp'
Host = 'localhost'
Port = 1883
Type = 'mqtt'
Topic = 'events'
    [MessageQueue.Optional]
    ClientId ="CoreData"
    # Connection information
    Qos          =  "0" # Quality of Sevice values are 0 (At most once), 1 (At least once) or 2 (Exactly once)
    KeepAlive    =  "10" # Seconds (must be 2 or greater)
    Retained     = "false"
    AutoReconnect  = "true"
    ConnectTimeout = "5" # Seconds

Run a MQTT Broker and use Device Virtual to generate data.

🔥 Exception or Error




 msg="Unable to send message for event: {...} An error occured while performing a 'Publish' operation: Not Connected"

🌍 Your Environment

Deployment Environment:

EdgeX Version:
Master

Anything else relevant?
Also the latest's go-mod-messaging needs to be used

@lenny-goodell lenny-goodell added bug Something isn't working geneva 3-high priority denoting release-blocking issues labels Apr 3, 2020
@lenny-goodell lenny-goodell self-assigned this Apr 3, 2020
lenny-goodell pushed a commit to lenny-goodell/edgex-go that referenced this issue Apr 3, 2020
Core data was missing call to connect to message bus and needed latest go-mod-messging for MQTT Message Bus to work.

closes edgexfoundry#2466

Signed-off-by: lenny <[email protected]>
@lenny-goodell lenny-goodell changed the title MQTT Message Bus no functional. MQTT Message Bus not functional. Apr 3, 2020
lenny-goodell pushed a commit to lenny-goodell/edgex-go that referenced this issue Apr 7, 2020
Core data was missing call to connect to message bus and needed latest go-mod-messging for MQTT Message Bus to work.

closes edgexfoundry#2466

Signed-off-by: lenny <[email protected]>
lenny-goodell pushed a commit to lenny-goodell/edgex-go that referenced this issue Apr 7, 2020
Core data was missing call to connect to message bus and needed latest go-mod-messging for MQTT Message Bus to work.

closes edgexfoundry#2466

Signed-off-by: lenny <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3-high priority denoting release-blocking issues bug Something isn't working geneva
Projects
None yet
Development

No branches or pull requests

1 participant