-
Notifications
You must be signed in to change notification settings - Fork 228
Description
I have followed the user setup guide to running IBC on a Linux VM, up to the point about installing xterm, as whenever I try to do this my VM seems to freeze, so I have removed all reference to xterm from the script files(I am aiming to run headlessly so I don't think this should cause any issues?).
Whenever I try to run either the starttws.sh or startgateway.sh scripts, I get the same error that first runs TWS, and then exits with code 83.
I have made sure that my file structure is correct, ~/ibc containing the config.ini file, and /opt/ibc containing IBC itself, and ~/Jts containing ib gateway. I have edited the ibgateway and twsstart files to reference the correct ib version, 1037, but none of these seem to have any effect on this error. The following is the output from running the command ./ibgateway.sh (the log file). A point that I feel might be important to mention is the fact that it seems to be using Java 17, but I don't know if this will effect it.
2025-09-29 20:45:01:272 IBC: using default settings provider: ini file is /home/opc/ibc/config.ini
2025-09-29 20:45:01:272 IBC: using default login manager: will get username and password from settings; FIX username an>2025-09-29 20:45:01:272 IBC: using default main window manager
2025-09-29 20:45:01:272 IBC: using default trading mode manager: constructor parameter args but trading mode not presen>2025-09-29 20:45:01:273 IBC: using default config dialog manager
2025-09-29 20:45:01:286 IBC: CommandServer is not started because the port is not configured 2025-09-29 20:45:02:190 IBC: TWS Settings directory is: /home/opc/Jts
2025-09-29 20:45:02:190 IBC: Starting session: will exit if login dialog is not displayed within 60 seconds
2025-09-29 20:45:02:258 IBC: Ensuring /home/opc/Jts/jts.ini contains required minimal lines
2025-09-29 20:45:02:258 IBC: Found setting: [Logon]/s3store=true
2025-09-29 20:45:02:259 IBC: Found setting: [Logon]/Locale=en
2025-09-29 20:45:02:259 IBC: Found setting: [Logon]/displayedproxymsg=1
2025-09-29 20:45:02:259 IBC: Found setting: [Logon]/UseSSL=true
2025-09-29 20:45:02:259 IBC: Found setting: [IBGateway]/ApiOnly=true
2025-09-29 20:45:02:259 IBC: Found setting: [IBGateway]/TrustedIPs=127.0.0.1
2025-09-29 20:45:02:259 IBC: Confirmed /home/opc/Jts/jts.ini contains required minimal lines
2025-09-29 20:45:02:260 IBC: Starting Gateway
2025-09-29 20:45:05:758 IBC: Exiting with exit code=1107
IBC returned exit status 83
Finding autorestart file
autorestart file not found: full authentication will be required
Gateway finished
I set my config.ini file as exactly the same as when I set this up on my windows machine, which worked perfectly, but this doesn't for some reason. Any help would be greatly appreciated on this thanks!