Opened 3 months ago

Last modified 8 days ago

#2416 infoneeded_new enhancement

Snark too impatient

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

Description

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(I2PSessionImpl.java:835)
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:247)
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:167)
at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:108)
at org.klomp.snark.I2PSnarkUtil.connect(I2PSnarkUtil.java:270)
at org.klomp.snark.SnarkManager?.monitorTorrents(SnarkManager?.java:2632)
at org.klomp.snark.SnarkManager?$DirMonitor?.run(SnarkManager?.java:2420)
at java.base/java.lang.Thread.run(Thread.java:834)
at net.i2p.util.I2PThread.run(I2PThread.java:103)
Caused by: java.io.IOException: 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(I2PSessionImpl.java:781)

Subtickets (add)

Change History (2)

comment:1 Changed 3 months 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 8 days ago by zzz

  • Status changed from new to infoneeded_new
Note: See TracTickets for help on using tickets.