Opened 5 years ago

Closed 2 years ago

#1251 closed defect (fixed)

Orchid: .onion reconnect failure

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.27
Component: apps/plugins Version: 0.9.12
Keywords: Orchid Cc:
Parent Tickets:

Description

Reported by thebland http://zzz.i2p/topics/1106?page=2#p7870


Greetings,

Been running the Orchid plug-in for a bit and noticed that many .onion sites that are reachable when the plug-in first starts seem to become unreachable over time. Only solution I can find is to stop/start the plug-in. Only log entries I can find that might be relevant look like this:

3/12/14 1:13:11 AM WARN [Thread-4744 ] hid.connections.ConnectionImpl: Unhandled Tor exception reading and processing cells: Could not decrypt relay cell
com.subgraph.orchid.TorException: Could not decrypt relay cell
at com.subgraph.orchid.circuits.CircuitIO.decryptRelayCell(CircuitIO.java:81)
at com.subgraph.orchid.circuits.CircuitIO.deliverRelayCell(CircuitIO.java:130)
at com.subgraph.orchid.circuits.CircuitImpl.deliverRelayCell(CircuitImpl.java:216)
at com.subgraph.orchid.connections.ConnectionImpl.processRelayCell(ConnectionImpl.java:285)
at com.subgraph.orchid.connections.ConnectionImpl.processCell(ConnectionImpl.java:255)
at com.subgraph.orchid.connections.ConnectionImpl.readCellsLoop(ConnectionImpl.java:226)
at com.subgraph.orchid.connections.ConnectionImpl.access$000(ConnectionImpl.java:44)
at com.subgraph.orchid.connections.ConnectionImpl$1.run(ConnectionImpl.java:215)
at java.lang.Thread.run(Unknown Source)

3/11/14 5:58:29 PM WARN [der 847.1694] tunnel.I2PTunnelOutproxyRunner: fromOutproxy: Error forwarding
java.io.IOException: Input stream closed
at com.subgraph.orchid.circuits.TorInputStream.processIncomingCell(TorInputStream.java:190)
at com.subgraph.orchid.circuits.TorInputStream.fillBuffer(TorInputStream.java:180)
at com.subgraph.orchid.circuits.TorInputStream.refillBufferIfNeeded(TorInputStream.java:173)
at com.subgraph.orchid.circuits.TorInputStream.read(TorInputStream.java:87)
at com.subgraph.orchid.circuits.TorInputStream.read(TorInputStream.java:72)
at net.i2p.i2ptunnel.I2PTunnelOutproxyRunner$StreamForwarder.run(I2PTunnelOutproxyRunner.java:277)
3/11/14 5:58:30 PM ^^^ 2 similar messages omitted ^^^

System:

2P version: 0.9.11-0-1p1
Java version: Oracle Corporation 1.7.0_25 (Java(TM) SE Runtime Environment 1.7.0_25-b15)
Wrapper version: 3.5.22
Server version: 7.6.14.v20131031
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.2.0-59-generic
Processor: Core 2 (Conroe) (core2)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: UTF-8
Charset: UTF-8

Thanks,

thebland


Sorry I left out the version I'm using which is 1.0.0-0.4-b1. Its not a major pain as I don't browse .onion sites on a regular basis. Just figured you'd want to know about the errors.

Only other thing I can think of is I also had to install the Unlimited Strength Java(TM) Cryptography Extension Policy Files to get Orchid to start so it is using those updated jar files.

Thanks,

thebland


Update:

I did a little more troubleshooting using your Orchid Controller page. What is happening is that when a hidden service is built by the Circuit Manager a dirty counter is started. Once that counter hits 300 seconds the circuit is destroyed and never rebuilt to that particular hidden service until after a plugin stop/start. This seems to be on a per hidden service basis.

Thanks,

thebland

Subtickets

Change History (3)

comment:1 Changed 4 years ago by str4d

  • Keywords Orchid added

comment:2 Changed 3 years ago by str4d

  • Status changed from new to open

comment:3 Changed 2 years ago by zzz

  • Milestone set to 0.9.27
  • Resolution set to fixed
  • Status changed from open to closed

Preliminary fix 3e14573892a1e95ee41f05d0822fd9b14c17716b will be in 1.2.2-0.1 to be released today, works for me, would be nice to have a tor expert review it but that's unlikely to happen soon.

Note: See TracTickets for help on using tickets.