Replies: 3 comments 5 replies
-
I would suggest you to connect through VNC to make sure everything is working fine. ideally you don't need it in "steady mode" but the main reason to have it is to solve any issue. i don't understand why you have MFA for paper, I don't have it for my paper account, and AFAIK it's only available for live account. if you have MFA set with text messages, then you need to enter the message manually. it's better to use the ibkr app for MFA as you approve the login in the app. make sure you can see in the log |
Beta Was this translation helpful? Give feedback.
-
I'm not sure how related this is, but I'm going to put a comment anyway because this discussion came up when I was searching for the following error (Also in the OP logs):
Assuming TWS is logging in correctly, and otherwise working fine, this error for me was related to the setting in TWS menu File > Global Configuration... > API Settings > Enable ActiveX and Socket Clients |
Beta Was this translation helpful? Give feedback.
-
Yes, thank you. I got it working now.
…On Thu, Jun 12, 2025 at 3:44 PM gnzsnz ***@***.***> wrote:
@billching123 <https://github.com/billching123> there is no
IBcontroller.ini file. Please follow instructions on README, use sample
docker-compose.yml and sample .env (on the README) that should work.
—
Reply to this email directly, view it on GitHub
<#126 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIHNMKSAKNP5GTQZO5H3O2D3DHKBXAVCNFSM6AAAAABU5MR5EWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBVGI3TKNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to run IB Gateway on a cloud server (without GUI) and connect to it via python (ibapi) on the same server that IB Gateway is running.
I have cloned the latest version of ib-gateway-docker and followed instructions on how to build and run with
docker compose up
.based on my observation, it looks like the container does run but faces a problems when I try to connect via python.
Here's my simple python snippet for testing the connection:
Here's the container log when I try to run the python script:
It looks like 2FA is a problem (Enter security code) . The python code triggers a text message to my phone. Does anyone know how to deal with 2FA? I doubt I have deactivate it since it is required every time I login to my paper account via the GUI.
I am attaching my .env for reference:
I do not modify the yml file at all and use what is there on the repo.
I appreciate your help with this.
Beta Was this translation helpful? Give feedback.
All reactions