¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Re: 2FA prevents TWS restarts without human authorisation
Brian That explains a lot! First, my advice would be to not take ¡®advantage¡¯ of ib_insync¡¯s ability to auto-start IBC/TWS, and just run IBC separately. I don¡¯t use ib_insync at all, so
By Richard L King · #2187 ·
Re: 2FA prevents TWS restarts without human authorisation
Hi Richard, Apologies for the delay. Yes we are using ib_insync on a ubuntu AWS server. Since we initiated it from ib_insync we don't have the logs requested. Your previous comment triggered the idea
By Brian Barnett · #2186 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
Ok, I think you¡¯re confirming what I¡¯ve observed, ie that merely setting TrustedIPs in jts.ini is not enough to allow remote API connections, but ¡®Allow connections from localhost only¡¯ also
By Richard L King · #2185 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
"Can you try with a fresh instance of Gateway (ie no prior configuration except the jts.ini) and see if it still works? I don¡¯t see how it possibly can from what I¡¯m observing, so I suspect that
By Bart D · #2184 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
I was misguidedly thinking that storing the settings periodically would help with the ensuring the settings stored on the server are up to date, but in fact it turns out that Gateway doesn¡¯t support
By Richard L King · #2183 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
Bart, you wrote as problem description as "repeatedly starting TWS/Gateway, logging in successfully, and then restarting after a short time". In the past I have had that issue myself, without using
By J.G. · #2182 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
"are you aware that you can configure IBC to save the TWS/Gateway settings at times of your choosing? See SaveTwsSettingsAt in config.ini." It would not help when the container restarts: any update
By Bart D · #2181 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
Thanks for that. A couple of points that might be of interest: First, are you aware that you can configure IBC to save the TWS/Gateway settings at times of your choosing? See SaveTwsSettingsAt in
By Richard L King · #2180 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
I found the root cause of this and it was something totally different. When you run a dockerized multi-container app, each container gets an IP address from a local gateway on the docker host that
By Bart D · #2179 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
Richard, thanks for reply and the excellent IBC. It seems you're the sole person who has made unatttended operation with IB possible! The situation was "repeatedly starting TWS/Gateway, logging in
By Bart D · #2178 ·
Re: does IB block API connections when there have been too many missed authentication attempts?
I¡¯m a bit unclear about the situation here. In the subject, you mention ¡®too many missed authentication attempts¡¯, but you don¡¯t explain what you mean by this in the message. If you keep
By Richard L King · #2177 ·
does IB block API connections when there have been too many missed authentication attempts?
During development of an automated trading engine, I've experienced an interesting situation: - using dockerized IB gateway+IBC I could connect from my client python software (using client ID 0) with
By Bart D · #2176 ·
Re: 2FA prevents TWS restarts without human authorisation
Chen, Brian, any progress, or questions, or further input on this? It occurs to me that perhaps you¡¯re using ib_insync, which I believe will start TWS for you automatically (using IBC under the
By Richard L King · #2175 ·
Re: 2FA prevents TWS restarts without human authorisation
Look in twsstartmacos.sh. You¡¯ll see the setting for the LOG_PATH variable. The log files themselves have names like this: ibc-3.18.0_TWS-1025_wednesday.txt Now read the descriptive comment
By Richard L King · #2174 ·
Re: 2FA prevents TWS restarts without human authorisation
Hi Richard, Thanks for pointing that out. I can see the Title "IbcTws" and if I click on About a small widow pops out. Please see the image attached. We appreciate your help and guidance immensely.
By Chen Wang · #2173 ·
Re: 2FA prevents TWS restarts without human authorisation
I don¡¯t want the launcher logs, I want the IBC logs. When you run IBC a prominent banner window is displayed telling you where the IBC log is. That¡¯s what I need. The launcher logs are written
By Richard L King · #2172 ·
Re: 2FA prevents TWS restarts without human authorisation
Hi Richard, We really appreciate your help here. Your willingness to help directly with users like us is commendable. The ubuntu box has already been on 3.18.0 and I've attached the launcher logs
By Brian Barnett · #2171 ·
Re: 2FA prevents TWS restarts without human authorisation
OK, the first thing to say is that if you are experiencing problems while using IBC, you should post here and attach the IBC logfile so that I can have a look at what¡¯s going on. And I mean attach
By Richard L King · #2170 ·
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
By Brian Barnett · #2169 ·
Re: 2FA prevents TWS restarts without human authorisation
Sloppy wording on my part. "you only get a forced restart over the weekend" if you set the Gateway to auto restart
By Andy Webb · #2168 ·