Gateway terminates automatically at 23:45 local time in FIX CTCI mode — IBC exits with status 0 (not reproduced on IB Gateway 10.39.1i)
Environment
|
|
| IBC version |
3.23.0 (IBCLinux) |
| IB Gateway (affected) |
10.47.1b |
| IB Gateway (not affected) |
10.39.1i |
| Gateway mode |
FIX CTCI (FIX=yes in config.ini) |
| Deployment |
Gateway, headless (Xvfb + VNC) inside a Docker container |
| Host OS |
Amazon Linux 2 |
| Container base |
Ubuntu |
| System timezone |
JST (UTC+9) |
Summary
We run IB Gateway in FIX CTCI mode under IBC. With IB Gateway 10.47.1b + IBC 3.23.0, the
Gateway terminates itself every day at 23:45 local time.
IBC detects a Shutdown progress dialog together with an Exit Session Setting frame, then exits
with status 0. No autorestart file is written, so the session cannot be resumed and full
re-authentication would be required. At the same moment the FIX session receives a Logout
(35=5) with 58=Process termination.
Reverting only the IB Gateway version to 10.39.1i — same IBC version, same config.ini,
same host, same container image otherwise — makes the behaviour disappear entirely.
This suggests that something in the Gateway's auto-logoff / "Exit Session Setting" handling changed
between 10.39 and 10.47, and that IBC's auto-closedown suppression no longer takes effect.
Log excerpt
2026-06-26 23:45:00:233 IBC: detected dialog entitled: Shutdown progress; event=Opened
2026-06-26 23:45:00:235 IBC: detected frame entitled: Exit Session Setting; event=Lost focus
2026-06-26 23:45:00:235 IBC: detected frame entitled: Exit Session Setting; event=Deactivated
2026-06-26 23:45:00:235 IBC: detected dialog entitled: Shutdown progress; event=Activated
2026-06-26 23:45:00:236 IBC: detected dialog entitled: Shutdown progress; event=Focused
2026-06-26 23:45:00:236 IBC: detected frame entitled: Exit Session Setting; event=Closed
LogModuleConfigurator-Init: Log4j Ver2.x found on classpath
LogModuleConfigurator-Init: LogModuleConfigurator initialized with Log4j Ver2.x
IBC returned exit status 0
Finding autorestart file
autorestart file not found: full authentication will be required
Gateway finished
Relevant config.ini settings
FIX=yes
IbAutoClosedown=
AutoLogoffTime=
AutoRestartTime=
ClosedownAt=
Already ruled out
The shutdown is not triggered from outside the Gateway process. We verified on the same host that
there is no scheduled job at that time:
- user and root crontabs — nothing at 23:45
/etc/crontab, /etc/cron.d/, /etc/cron.daily/, /etc/cron.hourly/ — nothing at 23:45
systemctl list-timers --all — no timer at 23:45
- no cron inside any of the containers
Questions
- Are
IbAutoClosedown / AutoLogoffTime still expected to suppress the automatic shutdown on
recent Gateway builds, and do they apply when the Gateway is running in FIX CTCI mode? Has the
Exit Session Setting window title or layout changed in the 10.4x line such that IBC can no
longer set the auto-logoff time?
- Is this addressed in IBC 3.24.1? (We are currently testing that combination.)
- Our requirement is uninterrupted operation. Is there a supported configuration that keeps the Gateway running across 23:45 in FIX CTCI mode? If not, what is the recommended way to have IBC bring it back up automatically — given that FIX CTCI login does not involve 2FA, is AutoRestartTime the right mechanism here?
Thanks for your work on IBC.
Gateway terminates automatically at 23:45 local time in FIX CTCI mode — IBC exits with status 0 (not reproduced on IB Gateway 10.39.1i)
Environment
FIX=yesin config.ini)Summary
We run IB Gateway in FIX CTCI mode under IBC. With IB Gateway 10.47.1b + IBC 3.23.0, the
Gateway terminates itself every day at 23:45 local time.
IBC detects a
Shutdown progressdialog together with anExit Session Settingframe, then exitswith status 0. No autorestart file is written, so the session cannot be resumed and full
re-authentication would be required. At the same moment the FIX session receives a Logout
(
35=5) with58=Process termination.Reverting only the IB Gateway version to 10.39.1i — same IBC version, same
config.ini,same host, same container image otherwise — makes the behaviour disappear entirely.
This suggests that something in the Gateway's auto-logoff / "Exit Session Setting" handling changed
between 10.39 and 10.47, and that IBC's auto-closedown suppression no longer takes effect.
Log excerpt
Relevant config.ini settings
Already ruled out
The shutdown is not triggered from outside the Gateway process. We verified on the same host that
there is no scheduled job at that time:
/etc/crontab,/etc/cron.d/,/etc/cron.daily/,/etc/cron.hourly/— nothing at 23:45systemctl list-timers --all— no timer at 23:45Questions
IbAutoClosedown/AutoLogoffTimestill expected to suppress the automatic shutdown onrecent Gateway builds, and do they apply when the Gateway is running in FIX CTCI mode? Has the
Exit Session Settingwindow title or layout changed in the 10.4x line such that IBC can nolonger set the auto-logoff time?
Thanks for your work on IBC.