Manual action needed for paper in stable and latest
Closed this issue · 1 comments
tZimmermann98 commented
Hi there,
first, thanks for the great work! Your docker solution is really helpful!
Sadly, when I run the gateway in paper mode, it will only accept connections after I manually closed the alert about using a paper account (see picture and logs). It says "Peer closed connection. clientId 4 already in use?" but as you can see on the first screenshot, it is not in use.
Any Ideas how I can solve this automatically without having to manually close the alert every time?
Logs:
2023-12-06 12:32:40 Connecting to IB...
2023-12-06 12:32:40 Trying to connect...
2023-12-06 12:32:41 Peer closed connection. clientId 4 already in use?
2023-12-06 12:32:45 API connection failed: TimeoutError()
2023-12-06 12:32:45 Connect failed
2023-12-06 12:32:45 Attempt 1 of max 10
2023-12-06 12:32:45 Retrying in 60 seconds...
2023-12-06 12:33:45 Peer closed connection. clientId 4 already in use?
2023-12-06 12:33:50 API connection failed: TimeoutError()
2023-12-06 12:33:50 Connect failed
2023-12-06 12:33:50 Attempt 2 of max 10
2023-12-06 12:33:50 Retrying in 60 seconds...
2023-12-06 12:34:51 Connected to IB
tZimmermann98 commented
Fixed it by adding this to the environment section in the compose file:
IBC_AcceptNonBrokerageAccountWarning: yes