-
Notifications
You must be signed in to change notification settings - Fork 96
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
Address already in use #53
Comments
Hi @akh64bit, Interesting, I'll take a look at that. |
Thanks @efernandesng. Please let me know if you know any other details. |
Any update on this? |
I have the same issue here ... @akh64bit do you have any update on this ? |
@akh64bit I ve found the solution and i will make a PR |
We have similar problem (Address already in use):
After running ib-gateway I have manually run the |
The scripts runs fine.
However, If I change the config.ini.tmpl and make it auto-start at a fixed time everyday by adding the following lines, I get the error which is shown in the logs.
These lines were added under "4. TWS Auto-Closedown"
AutoLogoffTime= AutoRestartTime=10:00 PM
The logs are shown below.
2023-01-03 14:22:59:252 IBC: Setting ReadOnlyApi ib-gateway_1 | 2023-01-03 14:22:59:321 IBC: Read-Only API checkbox is now set to: false ib-gateway_1 | 2023-01-03 14:22:59:321 IBC: Setting Auto restart time ib-gateway_1 | 2023-01-03 14:22:59:341 IBC: Auto restart time set to 10:00 PM ib-gateway_1 | 2023-01-03 14:22:59:341 IBC: Performing port configuration ib-gateway_1 | 2023-01-03 14:22:59:349 IBC: TWS API socket port was set to 4001 ib-gateway_1 | 2023-01-03 14:22:59:350 IBC: TWS API socket port now set to 4000 ib-gateway_1 | 2023-01-03 14:22:59:350 IBC: Click button: OK ib-gateway_1 | Forking :::4000 onto [0.0.0.0:4001](http://0.0.0.0:4001/) ib-gateway_1 | 2023/01/03 14:23:15 socat[229] E bind(5, {AF=2 [0.0.0.0:4001](http://0.0.0.0:4001/)}, 16): Address already in use
The text was updated successfully, but these errors were encountered: