Open rrahmati opened 1 year ago
I can also confirm this bug, I'm on an M2 MacBook Air
Stable works, FWIW.
Seems the latest version of IB gateway automatically listens to port 4001
(for live) and port 4002
(for paper).
Setting OverrideTwsApiPort=4000
in IBC config.ini
could solve the issue.
See #88. Setting ENV IBC_VERSION=3.17.0 resolved the issues for me
Describe the bug I am getting connection refused on the latest version trying to login to a paper trading account. The stable version works just fine.
Container logs ib-gateway_1 | 2023-06-18 18:18:43:807 IBC: Detected frame entitled: IBKR Gateway; event=Activated ib-gateway_1 | 2023-06-18 18:18:43:816 IBC: Detected frame entitled: IBKR Gateway; event=Focused ib-gateway_1 | 2023-06-18 18:18:43:818 IBC: Detected frame entitled: IBKR Gateway; event=Opened ib-gateway_1 | 2023/06/18 18:18:56 socat[217] E connect(5, AF=2 127.0.0.1:4000, 16): Connection refused ib-gateway_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ib-gateway_1 | 2023-06-18 18:19:40:953 IBC: IBC closing after TWS/Gateway failed to display login dialog ib-gateway_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ib-gateway_1 | 2023-06-18 18:19:40:953 IBC: Exiting with exit code=1112 ib-gateway_1 | IBC returned exit status 88 ib-gateway_1 | IBC will restart shortly
Versions (please complete the following information):