Hi 闯ü谤驳别苍?,
?
I tried your suggestion of not disconnecting after reestablishing the connection with IB after the nightly reset this morning but had the same problem i.e. no real-time data. My logs are as follows (timestamps are in UTC):
?
08/08/2024 04:29:27.192 ERROR: request id = -1, error code = 1100, error string = Connectivity between IB and Trader Workstation has been lost
08/08/2024 04:29:27.193 IB connection lost.
08/08/2024 04:29:27.194 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:29:35.998 ERROR: request id = -1, error code = 1100, error string = Connectivity between IB and Trader Workstation has been lost.
08/08/2024 04:29:35.999 IB connection lost.
08/08/2024 04:29:36.000 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:29:39.773 ERROR: request id = -1, error code = 1100, error string = Connectivity between IB and Trader Workstation has been lost
08/08/2024 04:29:39.773 IB connection lost.
08/08/2024 04:29:39.775 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:29:42.791 ERROR: request id = -1, error code = 1100, error string = Connectivity between IB and Trader Workstation has been lost.
08/08/2024 04:29:42.791 IB connection lost.
08/08/2024 04:29:42.793 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:29:49.989 ERROR: request id = -1, error code = 1100, error string = Connectivity between IB and Trader Workstation has been lost
08/08/2024 04:29:49.989 IB connection lost.
08/08/2024 04:29:49.991 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
2024-08-08 04:29:58:415 IBC: detected frame entitled: Starting application...; event=Lost focus
2024-08-08 04:29:58:415 IBC: detected frame entitled: Starting application...; event=Deactivated
2024-08-08 04:29:58:415 IBC: detected frame entitled: Starting application...; event=Closed
08/08/2024 04:29:58.532 ERROR: request id = -1, error code = 2105, error string = HMDS data farm connection is broken:ushmds
08/08/2024 04:29:58.533 Data connection broken within IB reset window. Will not attempt connection reset.
08/08/2024 04:29:58.537 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:29:58.549 ERROR: request id = -1, error code = 2106, error string = HMDS data farm connection is OK:euhmds
08/08/2024 04:29:58.550 Found running IBC instance: psutil.Process(pid=42, name='java', status='sleeping', started='21:08:51')
08/08/2024 04:30:28.470 ERROR: request id = -1, error code = 1102, error string = Connectivity between IB and Trader Workstation has been restored - data maintained. The following farms are connected: eufarm; euhmds; secdefeu. The following farms are not connected: ushmds
08/08/2024 04:30:28.470 IB connection reestablished.
?
After the last message, I waited a minute to receive the real-time 5 seconds bars for liquid CME/NYMEX instruments e.g. CL, GC but received nothing. I then restarted IB Gateway & logged in again (after 2FA) & everything was fine.
?
I forgot to mention last time that I am using IB Gateway through IBC () inside Docker. Could that have anything to do with the problems I am experiencing?
?
Thanks,
Farhan