An automatic restart may still require a fresh manual login during the weekly sign-in cycle. If TWS reports a soft-token or permanent-token login failure, complete the broker login before investigating the webhook.
Educational software guidance. Trading involves risk. Read the financial and information disclaimers.
Step by step
- 1 Copy the exact login failure text and note when it started. Keep credentials out of the screenshot.
- 2 Open TWS directly and complete its normal login and any requested sign-in.
- 3 Wait for the trading workspace to load fully.
- 4 Check the API connection from the desktop app and check the intended account.
- 5 Review orders and positions from before the break before resuming alerts.
A practical example
A restart may open TWS but leave it waiting for you to sign in. The desktop app cannot finish its job while TWS is at that screen. Sign in through the normal broker flow and wait for the workspace. Then check the desktop app. A new webhook or a new chart alert will not solve a broker login that has not finished.
Screen reference



Mistake to avoid
Common questions
Is this fixed by turning off two-factor sign-in?
Use IBKR’s supported login process. Removing sign-in is not the remedy.
Does Auto restart cover weekly login?
It can restart the program, but manual fresh sign-in may still be needed.