Skip to content

TWS cannot recognize username or password after restart twice #258

Answered by Rjdrenth
fuzihaofzh asked this question in Q&A
Discussion options

You must be logged in to vote

EDIT: This might be an upstream issue: IbcAlpha/IBC#267
On the off-chance that this issue is something that might be solved from the docker side of things, below you can find my original message.

In any case, I can reproduce this problem in 2 ways - for paper trading. I have not tested live trading.

  • when running TWS and I restart from the menu the first time it works properly, but the second time it fails.
  • when I kept running the Gateway it automatically restarted and failed. I mapped no volumes, so there should not be an issue with either UID or GID.

These are my Gateway logs:

_ib_gateway-ib-gateway-1_logs.txt

Note that at the end of the logs it says Click button: Re-login 2 times. Tho…

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gnzsnz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
wontfix This will not be worked on
3 participants
Converted from issue

This discussion was converted from issue #253 on April 17, 2025 23:26.