Opened 8 years ago

Closed 8 years ago

#495 closed defect (fixed)

network status testing after 80 mins, 2 active "shared clients"

Reported by: DISABLED Owned by:
Priority: minor Milestone: 0.8.8
Component: router/general Version: 0.8.6
Keywords: ntp, snark, tunnels, network status Cc:
Parent Tickets: Sensitive: no

Description (last modified by zzz)

I still see network status "testing" after 80 minutes of uptime, and there are 2 entries for active "shared clients" under local destinations in the side panel and several dead ones for each configured service on the tunnels page.
I can connect and browse i2p.
logs attached:

I2P version: 0.8.6-18deb1
Java version: Sun Microsystems Inc. 1.6.0_20 (OpenJDK Runtime Environment 1.6.0_20-b20)
Platform: Linux amd64 2.6.35-29-generic
Processor: Athlon 64 (unknown) (athlon64)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: ANSI_X3.4-1968

Critical Logs
7/16/11 12:53:00 AM CRIT [k DirMonitor] net.i2p.util.I2PThread : Thread terminated unexpectedly: Snark DirMonitor
     java.lang.RuntimeException: Unable to connect to I2P
     at org.klomp.snark.Snark.fatal(Snark.java:1014)
     at org.klomp.snark.Snark.fatal(Snark.java:1001)
     at org.klomp.snark.Snark.startTorrent(Snark.java:514)
     at org.klomp.snark.SnarkManager.addMagnet(SnarkManager.java:675)
     at org.klomp.snark.SnarkManager.addMagnets(SnarkManager.java:1202)
     at org.klomp.snark.SnarkManager.access$800(SnarkManager.java:36)
     at org.klomp.snark.SnarkManager$DirMonitor.run(SnarkManager.java:1105)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)


router logs:
7/16/11 1:02:11 AM WARN [ handler 1/4] er.transport.udp.PacketHandler: NTP failure, UDP adjusting clock by 763ms
7/16/11 1:01:10 AM ERROR [nal Reader 2] net.i2p.client.I2PSessionImpl2: [shared clients #5805]: Error reconnecting on attempt 3
     net.i2p.client.I2PSessionException: [shared clients #5805]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.I2PSessionImpl.reconnect(I2PSessionImpl.java:779)
     at net.i2p.client.I2PSessionImpl2.reconnect(I2PSessionImpl2.java:505)
     at net.i2p.client.I2PSessionImpl.disconnect(I2PSessionImpl.java:745)
     at net.i2p.client.I2PSessionImpl.disconnected(I2PSessionImpl.java:738)
     at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:53)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 7 more
7/16/11 1:00:50 AM ERROR [rtup tunnels] .i2ptunnel.I2PTunnelClientBase: Unable to connect to the router at 127.0.0.1:7654 and build tunnels for the client, retrying in 20 seconds
7/16/11 1:00:50 AM ERROR [rtup tunnels] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [shared clients #5804]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:79)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:379)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:336)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:304)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:267)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.verifySocketManager(I2PTunnelClientBase.java:251)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:178)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:136)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClientBase.<init>(I2PTunnelHTTPClientBase.java:65)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClient.<init>(I2PTunnelHTTPClient.java:205)
     at net.i2p.i2ptunnel.I2PTunnel.runHttpClient(I2PTunnel.java:767)
     at net.i2p.i2ptunnel.TunnelController.startHttpClient(TunnelController.java:199)
     at net.i2p.i2ptunnel.TunnelController.doStartTunnel(TunnelController.java:159)
     at net.i2p.i2ptunnel.TunnelController.startTunnel(TunnelController.java:129)
     at net.i2p.i2ptunnel.TunnelControllerGroup$StartControllers.run(TunnelControllerGroup.java:108)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 18 more
7/16/11 12:58:05 AM INFO [ConnectTask ] i2p.bote.service.I2PBoteThread: Thread ConnectTask exiting.
7/16/11 12:58:05 AM ERROR [ConnectTask ] i2p.bote.I2PBote : Can't initialize the application.
     java.lang.NullPointerException
     at i2p.bote.I2PBote.initializeSession(I2PBote.java:231)
     at i2p.bote.I2PBote.access$300(I2PBote.java:101)
     at i2p.bote.I2PBote$ConnectTask.doStep(I2PBote.java:680)
     at i2p.bote.service.I2PBoteThread.run(I2PBoteThread.java:77)
7/16/11 12:58:05 AM ERROR [ConnectTask ] i2p.bote.I2PBote : Error creating I2PSocketManagerFactory
7/16/11 12:58:05 AM ERROR [ConnectTask ] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [I2P-Bote #5803]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:109)
     at i2p.bote.I2PBote.initializeSession(I2PBote.java:219)
     at i2p.bote.I2PBote.access$300(I2PBote.java:101)
     at i2p.bote.I2PBote$ConnectTask.doStep(I2PBote.java:680)
     at i2p.bote.service.I2PBoteThread.run(I2PBoteThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 6 more
7/16/11 12:55:29 AM ERROR [rtup tunnels] .i2ptunnel.I2PTunnelClientBase: Unable to connect to the router at 127.0.0.1:7654 and build tunnels for the client, retrying in 20 seconds
7/16/11 12:55:29 AM ERROR [rtup tunnels] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [shared clients #5802]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:79)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:379)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:336)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:304)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:267)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.verifySocketManager(I2PTunnelClientBase.java:251)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:178)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:136)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClientBase.<init>(I2PTunnelHTTPClientBase.java:65)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClient.<init>(I2PTunnelHTTPClient.java:205)
     at net.i2p.i2ptunnel.I2PTunnel.runHttpClient(I2PTunnel.java:767)
     at net.i2p.i2ptunnel.TunnelController.startHttpClient(TunnelController.java:199)
     at net.i2p.i2ptunnel.TunnelController.doStartTunnel(TunnelController.java:159)
     at net.i2p.i2ptunnel.TunnelController.startTunnel(TunnelController.java:129)
     at net.i2p.i2ptunnel.TunnelControllerGroup$StartControllers.run(TunnelControllerGroup.java:108)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 18 more
7/16/11 12:55:29 AM ERROR [nal Reader 2] net.i2p.client.I2PSessionImpl2: [shared clients #5801]: Error reconnecting on attempt 2
     net.i2p.client.I2PSessionException: [shared clients #5801]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.I2PSessionImpl.reconnect(I2PSessionImpl.java:779)
     at net.i2p.client.I2PSessionImpl2.reconnect(I2PSessionImpl2.java:505)
     at net.i2p.client.I2PSessionImpl.disconnect(I2PSessionImpl.java:745)
     at net.i2p.client.I2PSessionImpl.disconnected(I2PSessionImpl.java:738)
     at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:53)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 7 more
7/16/11 12:53:04 AM ERROR [ConnectTask ] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [I2P-Bote #5800]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:109)
     at i2p.bote.I2PBote.initializeSession(I2PBote.java:195)
     at i2p.bote.I2PBote.access$300(I2PBote.java:101)
     at i2p.bote.I2PBote$ConnectTask.doStep(I2PBote.java:680)
     at i2p.bote.service.I2PBoteThread.run(I2PBoteThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 6 more
7/16/11 12:53:00 AM CRIT [k DirMonitor] net.i2p.util.I2PThread : Thread terminated unexpectedly: Snark DirMonitor
     java.lang.RuntimeException: Unable to connect to I2P
     at org.klomp.snark.Snark.fatal(Snark.java:1014)
     at org.klomp.snark.Snark.fatal(Snark.java:1001)
     at org.klomp.snark.Snark.startTorrent(Snark.java:514)
     at org.klomp.snark.SnarkManager.addMagnet(SnarkManager.java:675)
     at org.klomp.snark.SnarkManager.addMagnets(SnarkManager.java:1202)
     at org.klomp.snark.SnarkManager.access$800(SnarkManager.java:36)
     at org.klomp.snark.SnarkManager$DirMonitor.run(SnarkManager.java:1105)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
7/16/11 12:53:00 AM ERROR [k DirMonitor] org.klomp.snark.Snark : Unable to connect to I2P
7/16/11 12:53:00 AM ERROR [k DirMonitor] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [I2PSnark #5799]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:79)
     at org.klomp.snark.I2PSnarkUtil.connect(I2PSnarkUtil.java:213)
     at org.klomp.snark.Snark.startTorrent(Snark.java:513)
     at org.klomp.snark.SnarkManager.addMagnet(SnarkManager.java:675)
     at org.klomp.snark.SnarkManager.addMagnets(SnarkManager.java:1202)
     at org.klomp.snark.SnarkManager.access$800(SnarkManager.java:36)
     at org.klomp.snark.SnarkManager$DirMonitor.run(SnarkManager.java:1105)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 10 more
7/16/11 12:50:08 AM ERROR [nal Reader 2] net.i2p.client.I2PSessionImpl2: [shared clients #5798]: Error reconnecting on attempt 1
     net.i2p.client.I2PSessionException: Already closed
     at net.i2p.client.I2PSessionImpl.sendMessage(I2PSessionImpl.java:624)
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:363)
     at net.i2p.client.I2PSessionImpl.reconnect(I2PSessionImpl.java:779)
     at net.i2p.client.I2PSessionImpl2.reconnect(I2PSessionImpl2.java:505)
     at net.i2p.client.I2PSessionImpl.disconnect(I2PSessionImpl.java:745)
     at net.i2p.client.I2PSessionImpl.disconnected(I2PSessionImpl.java:738)
     at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:53)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
7/16/11 12:50:08 AM ERROR [rtup tunnels] .i2ptunnel.I2PTunnelClientBase: Unable to connect to the router at 127.0.0.1:7654 and build tunnels for the client, retrying in 20 seconds
7/16/11 12:50:08 AM ERROR [rtup tunnels] eaming.I2PSocketManagerFactory: Error creating session for socket manager
     net.i2p.client.I2PSessionException: [shared clients #5798]: Cannot connect to the router on [internal connection]:0
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:415)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:154)
     at net.i2p.client.streaming.I2PSocketManagerFactory.createManager(I2PSocketManagerFactory.java:79)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:379)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.buildSocketManager(I2PTunnelClientBase.java:336)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:304)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.getSocketManager(I2PTunnelClientBase.java:267)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.verifySocketManager(I2PTunnelClientBase.java:251)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:178)
     at net.i2p.i2ptunnel.I2PTunnelClientBase.<init>(I2PTunnelClientBase.java:136)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClientBase.<init>(I2PTunnelHTTPClientBase.java:65)
     at net.i2p.i2ptunnel.I2PTunnelHTTPClient.<init>(I2PTunnelHTTPClient.java:205)
     at net.i2p.i2ptunnel.I2PTunnel.runHttpClient(I2PTunnel.java:767)
     at net.i2p.i2ptunnel.TunnelController.startHttpClient(TunnelController.java:199)
     at net.i2p.i2ptunnel.TunnelController.doStartTunnel(TunnelController.java:159)
     at net.i2p.i2ptunnel.TunnelController.startTunnel(TunnelController.java:129)
     at net.i2p.i2ptunnel.TunnelControllerGroup$StartControllers.run(TunnelControllerGroup.java:108)
     at java.lang.Thread.run(Thread.java:636)
     at net.i2p.util.I2PThread.run(I2PThread.java:77)
     Caused by: java.io.IOException: No tunnels built after waiting 5 minutes... are there network problems?
     at net.i2p.client.I2PSessionImpl.connect(I2PSessionImpl.java:392)
     ... 18 more
7/16/11 12:45:02 AM INFO [I2PBoteMain ] i2p.bote.Util : 1 lines read.
7/16/11 12:44:55 AM ERROR [Timestamper ] net.i2p.time.Timestamper : Unable to reach any of the NTP servers [0.de.pool.ntp.org, 1.de.pool.ntp.org, 2.de.pool.ntp.org, 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org] - network disconnected? Or set time.sntpServerList=myserver1.com,myserver2.com in advanced configuration.

Subtickets

Change History (4)

comment:1 Changed 8 years ago by zzz

Description: modified (diff)

Check your network connection. Or perhaps you are behind some severely restrictive firewall? You appear to have little or no ability to connect to peers on either UDP or TCP, or even to contact an NTP server.

comment:2 Changed 8 years ago by zzz

A connection problem shouldn't crash the i2psnark DirMonitor?, so I'll fix that.

comment:3 Changed 8 years ago by zzz

DirMonitor? crash fixed in 0.8.7-13.

comment:4 Changed 8 years ago by zzz

Milestone: 0.8.120.8.8
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.