extrange / ibkr-docker

Run IBKR Gateway/TWS in a Docker container
207 stars 41 forks source link

can't connect to gateway on paper, live works #101

Open rayli09 opened 7 months ago

rayli09 commented 7 months ago
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:33:069 IBC: Starting Gateway
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:627 IBC: detected frame entitled: IB Gateway; event=Activated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:635 IBC: detected frame entitled: IB Gateway; event=Focused
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:636 IBC: detected frame entitled: IB Gateway; event=Opened
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:637 IBC: Login dialog WINDOW_OPENED: LoginState is LOGGED_OUT
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:638 IBC: trading mode from settings: tradingMode=paper
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:639 IBC: Setting Trading mode = paper
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:743 IBC: Setting user name
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:744 IBC: Setting password
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:745 IBC: Login attempt: 1
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:37:766 IBC: Click button: Paper Log In
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:060 IBC: detected frame entitled: IB Gateway; event=Lost focus
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:061 IBC: detected frame entitled: IB Gateway; event=Deactivated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:062 IBC: detected frame entitled: Loading...; event=Activated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:082 IBC: detected frame entitled: Loading...; event=Focused
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:083 IBC: detected frame entitled: Loading...; event=Opened
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:084 IBC: Found Gateway main window
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:587 IBC: detected frame entitled: Loading...; event=Lost focus
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:588 IBC: detected frame entitled: Loading...; event=Deactivated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:588 IBC: detected frame entitled: IB Gateway; event=Activated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:590 IBC: detected frame entitled: IB Gateway; event=Focused
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:591 IBC: detected dialog entitled: Gateway; event=Opened
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:592 IBC: detected frame entitled: IB Gateway; event=Lost focus
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:593 IBC: detected frame entitled: IB Gateway; event=Deactivated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:595 IBC: detected dialog entitled: Gateway; event=Activated
ibkr-docker-ib-gateway-1  | 2024-04-15 23:17:40:599 IBC: detected dialog entitled: Gateway; event=Focused
^CGracefully stopping... (press Ctrl+C again to force)

it seems like it can't push 2FA for paper trading mode, but live works.

mkopani commented 6 months ago

+1. I've followed all the directions on #16 and still no dice.

extrange commented 5 months ago

Do you have a screenshot of the VNC server?