[tor-bugs] #25407 [Applications/Tor Browser]: Unable to retrieve tor settings - Please ensure Tor is running

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 2 19:47:52 UTC 2018


#25407: Unable to retrieve tor settings - Please ensure Tor is running
------------------------------------------+----------------------
     Reporter:  Toro                      |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 I use TorBrowser (7.5 FF 52.6.0 64-bit) with an independent Tor (0.3.2.9)
 process. Linux 4.13.9-1-ARCH

 Configs:

 in .bashrc :
 export TOR_SKIP_LAUNCH=1

 in start-tor-browser :
 setControlPortPasswd ${TOR_CONTROL_PASSWD:='"xxxxxxxx"'}

 and every configuration suggested in start-tor-browser modified in
 about:config

 This always worked fine for browsing, but with one inconvenience: I wasn't
 able to use the option "Tor Network Settings..." at the TorButton menu, it
 always gives the error "Unable to retrieve tor settings - Please ensure
 Tor is running".


 Checking the logs, I've found that TorButton gets the right password for
 control connection, but TorLauncher receives the password with extra
 double quotes
 TorButton connects with no problem, but TorLauncher doesn't.


 Here's the log:

 [03-02 18:41:18] TorLauncher DBUG: Opening control connection to
 127.0.0.1:9151
 [03-02 18:41:18] TorLauncher DBUG: Sending Tor command: AUTHENTICATE
 "\"xxxxxxxx\""
 [03-02 18:41:18] TorLauncher DBUG: Command response: 515 Authentication
 failed: Password did not match HashedControlPassword value from
 configuration
 [03-02 18:41:18] TorLauncher NOTE: authenticate failed
 [03-02 18:41:18] TorLauncher DBUG: Opening control connection to
 127.0.0.1:9151
 [03-02 18:41:18] TorLauncher DBUG: Sending Tor command: AUTHENTICATE
 "\"xxxxxxxx\""
 [03-02 18:41:18] TorLauncher DBUG: Command response: 515 Authentication
 failed: Password did not match HashedControlPassword value from
 configuration
 [03-02 18:41:18] TorLauncher NOTE: authenticate failed
 [03-02 18:41:18] TorLauncher DBUG: readTorSettings done; didSucceed: false
 [03-02 18:41:18] TorLauncher DBUG: initDialog done

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25407>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list