Opened 5 years ago

Closed 4 years ago

#15923 closed enhancement (worksforme)

path creation timeout?

Reported by: rrr Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


is there a way for me to tell tor to have a limited timeout when trying to create a new path ?

recently I see more and more occations that tor says connected but i cant use it. after somne poking I found in vidalia network interface that it is trying to create new paths (usually two at a time) but is stuck in this way

<Path Empty> New
<Path Empty New

if I close those circuits manually it tries to create new one and will work for sometime but it happens again and again and it's getting bad.

Is there a way for me to tell it to abandon a circuit if it didn't get created after say 10 seconds?

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by teor

Resolution: worksforme
Status: newclosed

Some of the following options should help you:

LearnCircuitBuildTimeout 0|1

If 0, CircuitBuildTimeout adaptive learning is disabled. (Default:

CircuitBuildTimeout NUM

Try for at most NUM seconds when building circuits. If the circuit
isn't open in that time, give up on it. If LearnCircuitBuildTimeout
is 1, this value serves as the initial value to use before a
timeout is learned. If LearnCircuitBuildTimeout is 0, this value is
the only value used. (Default: 60 seconds)

CircuitIdleTimeout NUM

If we have kept a clean (never used) circuit around for NUM
seconds, then close it. This way when the Tor client is entirely
idle, it can expire all of its circuits, and then expire its TLS
connections. Also, if we end up making a circuit that is not useful
for exiting any of the requests we're receiving, it won't forever
take up a slot in the circuit list. (Default: 1 hour)

CircuitStreamTimeout NUM

If non-zero, this option overrides our internal timeout schedule
for how many seconds until we detach a stream from a circuit and
try a new circuit. If your network is particularly slow, you might
want to set this to a number like 60. (Default: 0)

Please reopen the ticket if they don't help.

Note: See TracTickets for help on using tickets.