[tor-bugs] #27188 [Core Tor/Tor]: hsv3 unavailable after reconnecting: No more HSDir available to query.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 17 15:50:27 UTC 2018


#27188: hsv3 unavailable after reconnecting: No more HSDir available to query.
--------------------------+------------------------------------
 Reporter:  traumschule   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs hsdir  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by traumschule):

 Looking at
 [https://gitweb.torproject.org/tor.git/tree/src/core/or/connection_edge.c#n1614
 connection_edge.c] and
 [https://gitweb.torproject.org/tor.git/tree/src/feature/hs/hs_client.c#n409
 hs_client.c: fetch_v3_desc] the request is turned down
 {{{
       case HS_CLIENT_FETCH_NO_HSDIRS:
       case HS_CLIENT_FETCH_NOT_ALLOWED:
         /* Can't proceed further and better close the SOCKS request. */
 }}}
 because
 [https://gitweb.torproject.org/tor.git/tree/src/feature/hs/hs_client.c#n1276
 hs_client_refetch_hsdesc] fails. The
 [https://gitweb.torproject.org/tor.git/tree/src/feature/hs/hs_client.c#n69
 connection is closed (fetch_status_should_close_socks)] and the
 [https://gitweb.torproject.org/tor.git/tree/src/feature/hs/hs_client.c#n1291
 request purged (hs_client_refetch_hsdesc)]. (skipping speculations)

 Found an interesting bit in the log:
 {{{
 Aug 17 02:26:19 host Tor[950]: Tor has successfully opened a circuit.
 Looks like client functionality is working.
 Aug 17 02:26:19 host Tor[950]: Bootstrapped 100%: Done
 Aug 17 03:03:24 host Tor[950]: Your Guard <redacted> is failing more
 circuits than usual. Most likely this means the Tor network is overloaded.
 Success counts are 143/243. Use counts a re 45/51. 240 circuits completed,
 6 were unusable, 91 collapsed, and 84 timed out. For reference, your
 timeout cu toff is 60 seconds.
 Aug 17 08:26:17 host Tor[950]: Heartbeat: Tor's uptime is 6:00 hours, with
 10 circuits open. I've sent 6.93 MB and received 15.22 MB.
 }}}

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


More information about the tor-bugs mailing list