Opened 3 years ago

Closed 2 years ago

#2416 closed enhancement (no response)

Snark too impatient

Reported by: jogger Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.38
Keywords: Cc:
Parent Tickets: Sensitive: no


During router start I have 2 I2CP clients connect that want 64 tunnels built. Snark comes next and throws this:

27.01.19, 17:11:57 ERROR [k DirMonitor?] eaming.I2PSocketManagerFactory: Error creating session for socket manager

net.i2p.client.I2PSessionException: [GOTDATE I2PSnark #13042]: Failed to build tunnels
at net.i2p.client.impl.I2PSessionImpl.connect(
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(
at org.klomp.snark.I2PSnarkUtil.connect(
at org.klomp.snark.SnarkManager?.monitorTorrents(SnarkManager?.java:2632)
at org.klomp.snark.SnarkManager?$DirMonitor?.run(SnarkManager?.java:2420)
at java.base/
Caused by: No tunnels built after waiting 5 minutes. Your network connection may be down, or there is severe network congestion.
at net.i2p.client.impl.I2PSessionImpl.connect(


Change History (3)

comment:1 Changed 3 years ago by zzz

5 minutes is the limit on the I2CP client side, not in i2psnark. It should retry. Does it?

64 tunnels at startup is a lot. Do you mean 64 different destinations, or e.g. 16 destinations of 4 tunnels each? How many destinations are those 64 tunnels for?

Tunnel building should give preference to tunnel pools without any tunnels. We do have some limits on max tunnel build rate, perhaps they could be increased for very high bandwidth routers, not sure. You can watch on /tunnels in the console to see the progress, and where the tunnel builds are happening.

Not sure if thre's anything we need to change here, as long as snark retries.

comment:2 Changed 3 years ago by zzz

Status: newinfoneeded_new

comment:3 Changed 2 years ago by zzz

Resolution: no response
Sensitive: unset
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.