IBC version: 3.23.0
Gateway version: 10.37.1o (build 1037)
OS: Windows Server 2025 Datacenter 10.0.26100
Setup:
I run 3 separate IB Gateway instances on 3 separate IBKR accounts (each with its own credentials and settings directory). All accounts are unfunded with paper trading enabled. Each instance has its own IBC config, port, and AutoRestartTime staggered 5 minutes apart.
Problem:
Full login with credentials works fine every time. However, when AutoRestart triggers and uses the token file, IBC clicks "Re-login" without filling in username/password, resulting in "Unrecognized Username or Password". The Gateway then gets stuck on this error dialog permanently.
Reproduction (happens consistently on 2 out of 3 instances):
Start Gateway with IBC — full login with credentials succeeds
AutoRestartTime triggers, Gateway shuts down
IBC finds autorestart token file (autorestart file found)
Gateway starts, shows "Re-login is required" dialog
IBC clicks "Re-login", but does NOT fill username/password
"Unrecognized Username or Password" error, Gateway stuck forever
From the attached log (port 4003):
IBC-3.23.0_GATEWAY-1037_.txt
23:05 — Fresh start: Setting user name → Setting password → Login has completed ✅
23:50 — AutoRestart: autorestart file found → Re-login is required → clicks Re-login → Unrecognized Username or Password ❌
I have logs from two instances (ports 4003 and 4005, different IBKR accounts) showing the exact same pattern.
I believe AutoRestart should work on paper accounts the same way it does on funded accounts. Paper trading is essential for testing strategies before going live.
IBC version: 3.23.0
Gateway version: 10.37.1o (build 1037)
OS: Windows Server 2025 Datacenter 10.0.26100
Setup:
I run 3 separate IB Gateway instances on 3 separate IBKR accounts (each with its own credentials and settings directory). All accounts are unfunded with paper trading enabled. Each instance has its own IBC config, port, and AutoRestartTime staggered 5 minutes apart.
Problem:
Full login with credentials works fine every time. However, when AutoRestart triggers and uses the token file, IBC clicks "Re-login" without filling in username/password, resulting in "Unrecognized Username or Password". The Gateway then gets stuck on this error dialog permanently.
Reproduction (happens consistently on 2 out of 3 instances):
Start Gateway with IBC — full login with credentials succeeds
AutoRestartTime triggers, Gateway shuts down
IBC finds autorestart token file (autorestart file found)
Gateway starts, shows "Re-login is required" dialog
IBC clicks "Re-login", but does NOT fill username/password
"Unrecognized Username or Password" error, Gateway stuck forever
From the attached log (port 4003):
IBC-3.23.0_GATEWAY-1037_.txt
23:05 — Fresh start: Setting user name → Setting password → Login has completed ✅
23:50 — AutoRestart: autorestart file found → Re-login is required → clicks Re-login → Unrecognized Username or Password ❌
I have logs from two instances (ports 4003 and 4005, different IBKR accounts) showing the exact same pattern.
I believe AutoRestart should work on paper accounts the same way it does on funded accounts. Paper trading is essential for testing strategies before going live.