I’ve searched back through my Data Collector log files for this 1102 message with one or more farms not connected, and since December 2020 it has occurred 13 times (and always usfarm).
?
I didn’t check them all in detail, but the handful I looked at had an “Error code=2104;Error msg=Market data farm connection is OK:usfarm;” shortly afterwards. The gap varied from a few seconds to a few minutes, but it always occurred during the reset period. After that, all my realtime data subscriptions served by the usfarm continued without incident, and without my code having to do anything.
?
I don’t use reqRealtimeBars, just reqMktData, but I’m surprised that your realtime bars aren’t continuing in the same way.
?
Perhaps you’re not waiting long enough? It’s certainly my understanding that realtime bars subscriptions do survive the reset period: Jürgen has mentioned this explicitly a couple of times recently.
?
You say that resubscribing to reqRealtimBars doesn’t work: what does happen when you do this? Is there an error message? Are you using the same request id as before? Do you cancel the existing subscription before trying again?