¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: 2FA prevents TWS restarts without human authorisation


 

@All,

Chen and I have been working on this issue together prior to coming to this group for further insight and let me expound on what it seems is happening. We install TWS on both a ubuntu server and a macOS environment and if we run TWS manually it runs perfectly fine, however after the first run of TWS under IBC control TWS fires up, but has now become crash prone. Once TWS crashes then IBC does a hard restart of the application. It appears that its crashing during the daily restart hence the 2FA issue because of the hard restart it needs 2FA to relogin since if TWS was functioning properly it would only need 2FA once a week. In the macOS environment its more stable than in ubuntu, but in ubuntu once IBC has run TWS then TWS will crash during a number of actions on the application. It crashes not only during restart but it also crashes upon order submission, when changing the contract shown on the graph or on the order entry screen, etc.

Running TWS manually after the first run by IBC is still crash prone. Our theory is perhaps there are some settings in the IBC installation/configuration that we are missing so that when it alters the TWS files during its initial run it isn't altering the TWS files properly.

Hopefully this helps clarify what we are experiencing.

Thanks,

Brian

Join [email protected] to automatically receive all group messages.