<h3>Description</h3>
<p>There seems to be a regression in version 1.2.7 that breaks the option to use existing Tor instead of builtin.</p>
<h4>Version</h4>
<p>Bisq 1.2.7 - FAILS<br>
Bisq 1.2.5 - works</p>
<p>OS = Tails 4.3</p>
<h3>Steps to reproduce</h3>
<ul>
<li>boot up an instance of Tails 4.3 with admin password enabled</li>
<li>download and install onion grater configuration (modified for this issue):<br>
<code>wget https://gist.githubusercontent.com/agb19/549eb605937ccda4c12ba5f621505299/raw/c59ea445e1de8ec468590a2ce4dd5c4ac4c71e37/bisq-debug.yml</code><br>
<code>sudo cp -fa bisq-debug.yml /etc/onion-grater.d/</code></li>
<li>download and install Bisq versions 1.2.5 and 1.2.7<br>
<code>wget https://github.com/bisq-network/bisq/releases/download/v1.2.7/Bisq-64bit-1.2.7.deb https://github.com/bisq-network/bisq/releases/download/v1.2.5/Bisq-64bit-1.2.5.deb</code><br>
<code>sudo dpkg --install Bisq-64bit-1.2.5.deb</code><br>
<code>sudo mv -f /opt/Bisq /opt/Bisq-1.2.5</code><br>
<code>sudo dpkg --install Bisq-64bit-1.2.7.deb</code><br>
<code>sudo mv -f /opt/Bisq /opt/Bisq-1.2.7</code></li>
<li>at this point, we can run the two different versions and compare the results:
<ul>
<li><code>/opt/Bisq-1.2.5/Bisq --logLevel=INFO --torControlPort=9051</code>, or</li>
<li><code>/opt/Bisq-1.2.7/Bisq --logLevel=INFO --torControlPort=9051</code></li>
</ul>
</li>
</ul>
<h3>Expected behaviour</h3>
<p>Versions 1.2.5 as well as 1.2.7 should start up and operate as intended.</p>
<h3>Actual behaviour</h3>
<p>Version 1.2.5 starts up and runs OK.</p>
<p>Version 1.2.7 appears to time out connecting to system Tor.<br>
<code>tcpdump</code> running on the loopback interface doesn't show any connection attempts to port 9051.</p>
<h3>Logs</h3>
<pre lang="Feb-18" data-meta="13:43:03.765 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: onInitP2pNetwork"><code>Feb-18 13:43:03.765 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: onInitP2pNetwork 
Feb-18 13:43:03.812 [NetworkNode-9999] INFO  b.n.p2p.network.RunningTor: Connecting to running tor 
Feb-18 13:43:03.816 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: walletInitialized=false, p2pNetWorkReady=false 
[... several lines concerning b.n.p.s.p.StoreService removed ...]
Feb-18 13:43:13.612 [readFromResourcesThread] INFO  bisq.core.app.SetupUtils: readFromResources took 27547 ms 
Feb-18 13:43:13.613 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: onInitP2pNetwork 
Feb-18 13:43:13.613 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: onInitP2pNetwork 
Feb-18 13:43:13.614 [JavaFX Application Thread] WARN  b.n.p2p.network.NetworkNode: Try to add a setupListener which was already added. 
Feb-18 13:43:13.625 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: walletInitialized=false, p2pNetWorkReady=false 
Feb-18 13:43:13.626 [NetworkNode-9999] INFO  b.n.p2p.network.RunningTor: Connecting to running tor 
Feb-18 13:47:03.771 [JavaFX Application Thread] WARN  bisq.core.app.BisqSetup: startupTimeout called 
Feb-18 13:47:04.216 [JavaFX Application Thread] INFO  bisq.core.app.BisqSetup: Set log level for org.berndpruenster.netlayer classes to DEBUG to show more details for Tor network connection issues 
</code></pre>
<h4>Device or machine</h4>
<p>Tails 4.3 (Debian 10.3)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3987?email_source=notifications&email_token=AJFFTNR6T7X33JMTC4NHQQDRDPVANA5CNFSM4KXFOSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOKSRIQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXVCZWJM6YJYSHIY3DRDPVANANCNFSM4KXFOSPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVOWCRTT7KBFDM3EOLRDPVANA5CNFSM4KXFOSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOKSRIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3987?email_source=notifications\u0026email_token=AJFFTNR6T7X33JMTC4NHQQDRDPVANA5CNFSM4KXFOSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOKSRIQ",
"url": "https://github.com/bisq-network/bisq/issues/3987?email_source=notifications\u0026email_token=AJFFTNR6T7X33JMTC4NHQQDRDPVANA5CNFSM4KXFOSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOKSRIQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>