You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been creating a custom library that handles all of the methods for the MQTT portion of this library, and what I have found is if I ever lose connection to the broker and trigger a reconnect the subscriptions never come back.
I have even tried re-initializing the subscriptions (Subscribe>StartConsume>TryConsume) and no new messages ever show up... The try-consume block is working as expected but no new messages populate.
Do I even need to re-subscribe after a reconnect? Do I still have to re-initialize the consumption of messages? Should I just restart the entire initialization of the MQTT block? (Enable-IIOT_MqttClient_4>Connect>IsConnected>Subscribe>StartConsume>TryConsume)
Any help with this would be greatly appreciated, I need to have a solution for a customer ASAP. If you would rather reach out to me and discuss via email here is my email: [email protected]
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello,
I have been creating a custom library that handles all of the methods for the MQTT portion of this library, and what I have found is if I ever lose connection to the broker and trigger a reconnect the subscriptions never come back.
I have even tried re-initializing the subscriptions (Subscribe>StartConsume>TryConsume) and no new messages ever show up... The try-consume block is working as expected but no new messages populate.
Do I even need to re-subscribe after a reconnect? Do I still have to re-initialize the consumption of messages? Should I just restart the entire initialization of the MQTT block? (Enable-IIOT_MqttClient_4>Connect>IsConnected>Subscribe>StartConsume>TryConsume)
Any help with this would be greatly appreciated, I need to have a solution for a customer ASAP. If you would rather reach out to me and discuss via email here is my email: [email protected]
Thanks in advance!
The text was updated successfully, but these errors were encountered: