-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to connect to port 4000 of ibga docker #12
Comments
Can you provide your docker-compose.yml file (remove sensitive info such as passwords)? You can try to verify the port mapping setting in docker-compose against the IB Gateway API port setting (via VNC), to see if they match. If not, you can remove the program file dir and let it try again. If the issue persists, please report back, I'll see if I can reproduce it. |
Ok I can reproduce it. Let me fix it. |
That's very helpful! Thank you indeed! |
It should be fixed now. It had actually been fixed a while ago, but for some reason the official docker image did not contain the change. |
Rebuilt and get |
If you are using the official docker hub image, just issue As far as I know, it is only reproducible with an older docker image of If you are interested in debugging, you can observe the log of the docker container. Since your screenshot shows that the script didn't change anything in the settings screen (i.e. Read-only API is still checked, and port is not 9000), the script might be stuck at:
If this step is successful, it then goes on to
The corresponding line is Line 240 in caec7a5
I've previously noticed that the IBG window title is different for different account types. For example, Advisor Master accounts and institutional accounts have "IB Gateway", while individual accounts may have "IBKR Gateway" as window title. So if you can confirm that the script stuck at this "menu click Config/Settings" step, you can further help me analyze it. Go into the container
This will show your window title together with the menu positions. With this information, I might have a clue why it's stuck. |
If I build with If I build with Here's the debug info:
|
The debug info appears to be ok. However, the "Login Messages" window is a problem. The mechanism simulates mouse clicks, which won't work if a window is blocking the menu. I've never seen this. Is there any setup in your account that I can replicate? If you are using TWS or IBG on your desktop for example, what's the content in this message, any way for me to turn it on? |
Their servers are offline for extended maintenance period from Friday night to Saturday US ET. Try again later. |
I will further report after the maintenance time. |
Can you try the latest though? The current implementation only downloads the latest version, which is 10.30.1j now. Perhaps if you try the latest version you'll see that message box. |
I can only close it if I can reproduce the window. Right now none of my accounts have this. So you might as well try to login at web portal, I'm sure you'll see the same tasks to finish. |
No problemo. Sometimes it takes a trading day for those "tasks" to disappear. I've seen them, primarily via email notifications. But somehow I've never seen it during IBG login. If I did reproduce it, it would be a 5 minute job to fix it. So I'll keep watching. |
Great job! Thank you on behalf of all users. Wish you earn big money! |
Hi,
After build ibga container, I cannot connect to port:4000.
And vnc shows no API connection on IB Gateway and Timeout Error of ib_insync.
Is there anything wrong?
Could somebody help? Thanks inadvance.
The text was updated successfully, but these errors were encountered: