extrange / ibkr-docker

Run IBKR Gateway/TWS in a Docker container
185 stars 41 forks source link

Read file config blocked #3

Closed perriea closed 2 years ago

perriea commented 2 years ago

Hi !

Thanks for your work ! I get stuck on this screen : Capture d’écran 2022-01-08 à 15 51 48

I am not sure that this is the image that is the source of this problem, however I had these issues locally and on my Kubernetes cluster. Furthermore, I can't find any specific logs to this issue ...

My config (basic):

FIX=no
IbLoginId=XXXXXX
IbPassword=XXXX
FIXLoginId=
FIXPassword=
ExitAfterSecondFactorAuthenticationTimeout=no
SecondFactorAuthenticationExitInterval=
TradingMode=paper
AcceptNonBrokerageAccountWarning=yes
LoginDialogDisplayTimeout = 60
IbDir=
StoreSettingsOnServer=
MinimizeMainWindow=no
ExistingSessionDetectedAction=manual
OverrideTwsApiPort=
ReadOnlyLogin=no
ReadOnlyApi=no
AcceptBidAskLastSizeDisplayUpdateNotification=accept
SendMarketDataInLotsForUSstocks=
IbAutoClosedown=yes
ClosedownAt=
AcceptIncomingConnectionAction=accept
AllowBlindTrading=no
SaveTwsSettingsAt=
DismissPasswordExpiryWarning=no
DismissNSEComplianceNotice=yes
ControlFrom=
BindAddress=
CommandPrompt=
SuppressInfoMessages=yes
LogStructureScope=known
LogStructureWhen=never

Has anyone ever had this?

perriea commented 2 years ago

I had this problem in TWS (your Dockerfile) or Gateway (my custom Dockerfile) mode

perriea commented 2 years ago

After research and changes in Dockerfile (rootless), my problem is solved. I think rights were not correct. https://github.com/arktos-venture/docker-ibkr/tree/develop/app/gateway

extrange commented 2 years ago

Saw you added a new user trader in your Dockerfile - this could be the problem. Looks like you managed to fix the permissions with chown so I'm closing this!