Skip to content

Subscribe Client Timeout #24

@MiguelMar98

Description

@MiguelMar98

Hello!

I have my publisher and subscriber clients successfully set up with AWS Iot Core. I can publish and subscribe to topics.

My publisher VI can run indefinitely if I keep publishing messages (I'm sending time stamp every 10 seconds). For this VI I left the Keep Alive field empty.

On the other hand, my subscriber VI keeps disconnecting after a while depending on the Keep Alive value I choose even though I keep receiving the timestamps sent by the publisher every 10 seconds. I added a ping VI after the event where I receive the published message and now it seems I can run without stopping (ran continuously for 1 hr).

image

My question is if this is the right way of keeping my subscriber connected to my broker or there is some other configuration at the connection that I am missing?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions