Skip to content

Bisq 2 (v2.1.10) ignoring --torControlPort CLI flags on Tails OS #4606

@stingray9

Description

@stingray9

Environment:

OS: Tails 6.x (Amnesic Incognito Live System)

App Version: Bisq 2.1.10 (Commit: 1e32b0f21d)

Networking: Restricted firewall (only Port 9050/9150/951 allowed)

The Issue:
I am attempting to run Bisq 2 on Tails. Due to the Tails firewall, the application must use the system-provided Tor instance via the filtered control port.

However, despite launching the application with explicit CLI flags, the logs indicate that Bisq 2 is disregarding these settings and attempting to spin up an internal Tor process on random ephemeral ports. Because non-system Tor processes are blocked by the Tails firewall, the app hangs at 5% and eventually times out.

Observed Behavior in Logs:

Flag Ignoring: Launched with --torControlPort=951 (or 9051), but log shows: Successfully connected control socket to Tor port [RANDOM_PORT] (e.g., 36345, 38521, 37105).

Firewall Rejection: The terminal loops: WARN BOOTSTRAP PROGRESS=5 TAG=conn SUMMARY="Connecting to a relay" WARNING="Connection refused".

Final Crash: bisq.network.tor.controller.exceptions.TorBootstrapFailedException: Could not bootstrap Tor in 240 seconds.

CLI Command Attempted:
JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true" /opt/bisq2/bin/Bisq2 --torControlPort=951 --torProxyAddress=127.0.0.1:9050 --torControlPassword=

Question:
How can I force Bisq 2 to respect the specified torControlPort on a restricted system like Tails? Is there a way to hardcode these values in a configuration file (like bisq2.yml) since the CLI flags are being ignored?

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions