ibkr-docker icon indicating copy to clipboard operation
ibkr-docker copied to clipboard

Unable to Open Settings Dialog in IBKR Gateway via noVNC

Open volcanomao opened this issue 9 months ago • 1 comments

I am experiencing an issue with the IBKR Gateway when accessed via noVNC. Specifically, clicking on the "Configure" settings button does not open the settings dialog as expected.

System Details:

Gateway Version: Build 10.34.1c Feb 13, 2025 4:03:19 PM

Docker Image: ghcr.io/extrange/ibkr:latest

docker-compose.yml Configuration:

services:
  ibkr:
    image: ghcr.io/extrange/ibkr # latest, stable, 10.21, 10.21.1p etc
    ports:
      - "127.0.0.1:6080:6080" # noVNC browser access
      - "127.0.0.1:7497:8888" # API access
    ulimits:
      nofile: 10000 # See FAQ
    environment:
      USERNAME: ${IBKR_PAPER_USERNAME} # Set in environment variables
      PASSWORD: ${IBKR_PAPER_PASSWORD} # Set in environment variables

      TWOFA_TIMEOUT_ACTION: restart
      GATEWAY_OR_TWS: gateway #tws

      TZ='US/Eastern'
      # Variables prefixed with IBC_ override IBCAlpha's config.ini:
      IBC_TradingMode: paper #live
      IBC_ReadOnlyApi: 'no' #yes
      IBC_AutoRestartTime: "07:00 AM"
      IBC_ColdRestartTime: "08:00 AM"
      IBC_AcceptNonBrokerageAccountWarning: 'yes'
      TWS_SETTINGS_PATH: /settings
    volumes:
      - ./settings:/settings:rw

Issue Details:

The IBKR Gateway launches successfully and is accessible via noVNC.

Other UI interactions seem to work correctly.

Clicking on the "Configure" settings button does nothing (no dialog appears).

Check the logs and note that there is no output when clicking the "Settings" menu. No relevant error messages are observed in the logs.

Additional Information:

I have tried restarting the container, but the issue persists.

The issue occurs with the latest version of the IBKR Gateway in the provided Docker image.

Any insights or solutions would be appreciated. Thank you!

volcanomao avatar Mar 08 '25 14:03 volcanomao

I’ve updated the issue to mention that the problem does not occur with ghcr.io/extrange/ibkr:stable, where the settings dialog opens correctly. This should help the maintainers narrow down the issue. Let me know if you need further modifications!

volcanomao avatar Mar 08 '25 14:03 volcanomao

Just to add to this - apart from not being able to open the settings windows (there are a lot of java exceptions in the "log" window), it doesn't set parameters correctly, like "IBC_ReadOnlyApi". So any new tags beyond "stable" are not usable now.

omdv avatar May 16 '25 20:05 omdv

Hi, thanks for helping narrow down the issue. I've updated IBC to 3.22.0 - this should fix most of the issues (like IBC_ReadOnlyApi and the settings issue too).

The latest image tags for latest (10.37.1g) and stable (10.30.1w) should be working - for example in latest (10.37.1g) I'm able to open the Settings dialog:

Image

It should be resolved already, if not, feel free to reopen the issue!

extrange avatar May 23 '25 01:05 extrange