Problem
The mirror listener doesn't appear to be setup to retry in the event of a loss of communication with the Mirror Node
Solution
If the listener is subscribing, it should handle an error() event and re-subscribe from the consensus timestamp of the last message (+1 nano) it received. This will ensure no notifications are missed.
Alternatives
There are no alternatives that would ensure no loss of data.
Problem
The mirror listener doesn't appear to be setup to retry in the event of a loss of communication with the Mirror Node
Solution
If the listener is subscribing, it should handle an
error()event and re-subscribe from the consensus timestamp of the last message (+1 nano) it received. This will ensure no notifications are missed.Alternatives
There are no alternatives that would ensure no loss of data.