-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When trying to run the gateway it fails to start the container
To Reproduce
set
TWS_USERID
TWS_PASSWORD
TRADING_MODE
READ_ONLY_API
run docker-compose up
Expected behavior
The gateway container to run
Container logs
Error message, it tries to run again after about 15 seconds and faces the same issue
ib-gateway-1 | 2024-02-07 10:46:55:461 IBC: Using default settings provider: ini file is /root/ibc/config.ini
ib-gateway-1 | 2024-02-07 10:46:55:462 IBC: Using default login manager: getting username and password from args
ib-gateway-1 | 2024-02-07 10:46:55:462 IBC: Using default main window manager
ib-gateway-1 | 2024-02-07 10:46:55:462 IBC: Using default trading mode manager: constructor parameter args: tradingMode=paper
ib-gateway-1 | 2024-02-07 10:46:55:464 IBC: Using default config dialog manager
ib-gateway-1 | 2024-02-07 10:46:55:468 IBC: CommandServer is not started because the port is not configured
ib-gateway-1 | 2024-02-07 10:46:55:569 IBC: TWS Settings directory is: /root/Jts
ib-gateway-1 | 2024-02-07 10:46:55:574 IBC: Ensuring /root/Jts/jts.ini contains required minimal lines
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Found setting: [Logon]/s3store=true
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Found setting: [Logon]/Locale=en
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Found setting: [Logon]/displayedproxymsg=1
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Found setting: [Logon]/UseSSL=true
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Found setting: [IBGateway]/ApiOnly=true
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Confirmed /root/Jts/jts.ini contains required minimal lines
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Starting Gateway
ib-gateway-1 | 2024-02-07 10:46:55:575 IBC: Starting session: will exit if login dialog is not displayed within 60 seconds
ib-gateway-1 | assertion failed [rem_idx != -1]: Unable to find existing allocation for shared memory segment to unmap
ib-gateway-1 | (VMAllocationTracker.cpp:745 remove_shared_mem)
ib-gateway-1 | /root/ibc/scripts/ibcstart.sh: line 468: 125 Trace/breakpoint trap "$java_path/java" -cp "$ibc_classpath" $java_vm_options$autorestart_option $entry_point "$ibc_ini" "$ib_user_id" "$ib_password" ${mode}
ib-gateway-1 | IBC returned exit status 133
ib-gateway-1 | Renaming TWS or Gateway .exe file to original name
ib-gateway-1 |
ib-gateway-1 | Gateway finished
ib-gateway-1 |
ib-gateway-1 exited with code 133Versions (please complete the following information):
- OS: MacOS 14.3, M1 Max
- Docker version: Docker version 25.0.2, build 29cf629
- Image Tag (
docker --version): latest - Image Digest (
docker images --digests): sha256:5f3311ed8dab171e5f955fdeca15ca269cea899577b82ad5955c5956e13461c3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working