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

Subscribe Client Timeout #24

Open
MiguelMar98 opened this issue Apr 8, 2024 · 1 comment
Open

Subscribe Client Timeout #24

MiguelMar98 opened this issue Apr 8, 2024 · 1 comment

Comments

@MiguelMar98
Copy link

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!

@francois-normandin
Copy link
Member

francois-normandin commented Apr 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants