Opened 6 years ago

Last modified 4 months ago

#1213 open defect

Orchid: Excess circuit creation for unknown host

Reported by: zzz Owned by:
Priority: minor Milestone:
Component: apps/plugins Version: 0.9.11
Keywords: Orchid Cc:
Parent Tickets: Sensitive: no

Description

The first Orchid bug I found but I don't think I entered a ticket on it until now.

More logs at http://zzz.i2p/topics/1106?page=2#p7730

When I try to connect to a clearnet host that doesn't resolve,
e.g. openExitStreamTo("foobar.baz", 80),
it doesn't fail-fast.

Orchid attempted to open a stream to that host and a new circuit about
539 times over the next 14 minutes.

Heard back from Bruce L., he acknowledges the following as a probable Orchid bug, but says he's busy and doesn't know when he could get to it, or any easy way to work around it.


sample logs:

xx:50:55.157 DEBUG [20-thread-12] id.circuits.OpenExitStreamTask:
Attempting to open stream to lksjljsdf.foo.bar:80
xx:50:55.158 DEBUG [-18-thread-1] d.circuits.CircuitCreationTask:
Building new circuit to handle 2 pending streams and predicted ports
xx:50:55.182 DEBUG [20-thread-13] chid.circuits.CircuitBuildTask:
Opening a new circuit to [WerkbankTorRelay,tortoise,afo4]
xx:50:55.182 DEBUG [20-thread-13] onnections.ConnectionCacheImpl: Get
connection to 213.165.86.156 9001 WerkbankTorRelay
xx:50:55.182 DEBUG [20-thread-13] rchid.circuits.CircuitExtender:
Creating 'fast' to Router[WerkbankTorRelay (213.165.86.156:9001)]
xx:50:55.349 DEBUG [20-thread-13] id.circuits.TapCircuitExtender:
Extending to tortoise with TAP
xx:50:55.868 DEBUG [20-thread-13] rchid.circuits.CircuitExtender:
Adding new circuit node for tortoise
xx:50:55.879 DEBUG [20-thread-13] d.circuits.NTorCircuitExtender:
Extending circuit to afo4 with NTor inside RELAY_EXTEND
xx:50:55.963 DEBUG [20-thread-12] raph.orchid.circuits.CircuitIO:
Closing circuit Circuit (Exit) id=47387 state=Open [Dirty 0s]
[|afo1|,|sd03|,|ArachnideFR35v2|] 

Subtickets

#2583: Orchid doesn't timeout unresolvable requestsclosedzzz

Change History (4)

comment:1 Changed 5 years ago by str4d

Keywords: Orchid added

comment:2 Changed 4 years ago by str4d

Status: newopen

comment:3 Changed 3 years ago by zzz

Probably not fixed yet. Needs to be retested after the bitcoinj merge. See also #1220.

comment:4 Changed 4 months ago by zzz

Sensitive: unset

Add a subticket #2583 (Orchid doesn't timeout unresolvable requests).

Note: See TracTickets for help on using tickets.