Login not working: E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
gp-slick-coder opened this issue · 3 comments
gp-slick-coder commented
v978
Since today I get the following error:
------------------------------------------------------------
2022-04-28 10:33:25:694 IBC: Using default settings provider: ini file is /root/IBController/IBController.ini
2022-04-28 10:33:25:694 IBC: Using default login manager: getting username and password from args
2022-04-28 10:33:25:694 IBC: Using default main window manager: constructor parameter isGateway=true
2022-04-28 10:33:25:694 IBC: Using default trading mode manager: constructor parameter args: tradingMode=live
2022-04-28 10:33:25:695 IBC: Using default config dialog manager
2022-04-28 10:33:25:700 IBC: CommandServer is not started because the port is not configured
2022-04-28 10:33:25:831 IBC: TWS Settings directory is: /root/Jts
2022-04-28 10:33:25:840 IBC: Ensuring /root/Jts/jts.ini contains required minimal lines
2022-04-28 10:33:25:841 IBC: Found setting: [Logon]/s3store=true
2022-04-28 10:33:25:842 IBC: Found setting: [Logon]/Locale=en
2022-04-28 10:33:25:842 IBC: Found setting: [Logon]/displayedproxymsg=1
2022-04-28 10:33:25:842 IBC: Found setting: [IBGateway]/ApiOnly=true
2022-04-28 10:33:25:842 IBC: Confirmed /root/Jts/jts.ini contains required minimal lines
2022-04-28 10:33:26,843 INFO success: ibdies entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-04-28 10:33:26,844 INFO success: ibcontroller entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-04-28 10:33:26,844 INFO success: socat_live entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-04-28 10:33:26,844 INFO success: socat_paper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-04-28 10:33:29:773 IBC: Detected frame entitled: IB Gateway; event=Activated
2022-04-28 10:33:29:781 IBC: Detected frame entitled: IB Gateway; event=Opened
2022-04-28 10:33:29:782 IBC: Setting Trading mode = live
2022-04-28 10:33:29:920 IBC: Click button: Log In
2022-04-28 10:33:30:913 IBC: Detected frame entitled: Loading...; event=Activated
2022-04-28 10:33:30:931 IBC: Detected frame entitled: Loading...; event=Opened
2022-04-28 10:33:30:931 IBC: Found Gateway main window
2022-04-28 10:33:30:931 IBC: Minimizing main window
2022-04-28 10:33:31:502 IBC: Detected frame entitled: Connecting to server (trying for another 19 seconds)...; event=Activated
2022-04-28 10:33:31:505 IBC: Detected frame entitled: Connecting to server (trying for another 19 seconds)...; event=Opened
2022-04-28 10:33:33:351 IBC: Detected dialog entitled: null; event=Activated
2022-04-28 10:33:33:356 IBC: Detected dialog entitled: null; event=Opened
2022/04/28 10:41:57 socat[168] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
2022/04/28 10:42:13 socat[169] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
gp-slick-coder commented
Since today, it's working again ;-)
gp-slick-coder commented
Issue is back again.
------------------------------------------------------------
2022-05-05 03:55:08:589 IBC: Using default settings provider: ini file is /root/IBController/IBController.ini
2022-05-05 03:55:08:589 IBC: Using default login manager: getting username and password from args
2022-05-05 03:55:08:589 IBC: Using default main window manager: constructor parameter isGateway=true
2022-05-05 03:55:08:589 IBC: Using default trading mode manager: constructor parameter args: tradingMode=live
2022-05-05 03:55:08:590 IBC: Using default config dialog manager
2022-05-05 03:55:08:598 IBC: CommandServer is not started because the port is not configured
2022-05-05 03:55:08:783 IBC: TWS Settings directory is: /root/Jts
2022-05-05 03:55:08:793 IBC: Ensuring /root/Jts/jts.ini contains required minimal lines
2022-05-05 03:55:08:794 IBC: Found setting: [Logon]/s3store=true
2022-05-05 03:55:08:794 IBC: Found setting: [Logon]/Locale=en
2022-05-05 03:55:08:795 IBC: Found setting: [Logon]/displayedproxymsg=1
2022-05-05 03:55:08:795 IBC: Found setting: [IBGateway]/ApiOnly=true
2022-05-05 03:55:08:795 IBC: Confirmed /root/Jts/jts.ini contains required minimal lines
2022-05-05 03:55:09,796 INFO success: ibdies entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-05-05 03:55:09,796 INFO success: ibcontroller entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-05-05 03:55:09,797 INFO success: socat_live entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-05-05 03:55:09,797 INFO success: socat_paper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-05-05 03:55:12:993 IBC: Detected frame entitled: IB Gateway; event=Activated
2022-05-05 03:55:12:996 IBC: Detected frame entitled: IB Gateway; event=Opened
2022-05-05 03:55:12:997 IBC: Setting Trading mode = live
2022-05-05 03:55:13:146 IBC: Click button: Log In
2022-05-05 03:55:13:996 IBC: Detected frame entitled: Loading...; event=Activated
2022-05-05 03:55:13:999 IBC: Detected frame entitled: Loading...; event=Opened
2022-05-05 03:55:14:000 IBC: Found Gateway main window
2022-05-05 03:55:14:000 IBC: Minimizing main window
2022-05-05 03:55:14:506 IBC: Detected frame entitled: Authenticating...; event=Opened
2022-05-05 03:55:14:531 IBC: Detected frame entitled: Authenticating...; event=Activated
2022-05-05 03:55:15:402 IBC: Detected dialog entitled: null; event=Activated
2022-05-05 03:55:15:404 IBC: Detected dialog entitled: null; event=Opened
2022/05/05 03:56:10 socat[143] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
2022/05/05 03:56:26 socat[144] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
2022/05/05 03:56:44 socat[145] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
2022/05/05 03:57:04 socat[146] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
2022/05/05 03:57:26 socat[147] E connect(5, AF=2 127.0.0.1:4001, 16): Connection refused
gp-slick-coder commented
Switched to https://github.com/mgvazquez/ibgateway