Opened 6 years ago

Last modified 6 years ago

#1584 accepted defect

Router can't handle IP/network change

Reported by: FreefallHeavens Owned by: dg
Priority: major Milestone: soon
Component: router/transport Version: 0.9.19
Keywords: windows hang Cc:
Parent Tickets: Sensitive: no


In about 1 in 3 cases, switching a wireless network or a change in IP from the ISP results in the router losing connection to the I2P network and not recovering it even after a day.

It is necessary to manually go in the I2P web interface and restart the router. The peers list - active, fast etc. gradually begins to drop numbers until it reaches zero. A traffic monitoring tool shows no attempts by java.exe to establish any new connections.

In wrapper.log, the following appears as the last event:

2014/06/16 01:27:06 | CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog?: Router appears hung, or there is severe network congestion. Watchdog starts barking!

There are no more entries afterwards. Issue began with I2P 0.9.17 and continued up to and including 0.9.19. This happened on both Java version 8 u45 and a previous unspecified version.

OS: Windows 7 x64 SP1 + all updates
JAVA: 8 u45
NETWORK: Wireless, NAT


Change History (3)

comment:1 Changed 6 years ago by DjJeshk

I have seen this too in WinXP 32bit and in Win7 32bit. This also depends on installed network driver. Builtin Windows driver (old version) corrupted network connections while newest driver left them valid. I am able to reset network adapter without killing I2P, it just complains about message delays, clock.skew, ntcp.sendTime, udp.sendVolleyTime graphs show peaks.

comment:2 Changed 6 years ago by dg

Keywords: hang added; router hangs removed
Owner: set to dg
Status: newaccepted

We may be able to check for a new IP in SSU (NTCP?) and soft restart in such cases.

I'll accept this, see if I can reproduce it, and look into that idea.

comment:3 Changed 6 years ago by dg

Component: router/generalrouter/transport
Keywords: windows added
Milestone: undecidedsoon
Summary: Windows 7: Internet IP change or wireless network switchover hangs routerRouter can't handle IP/network change
Note: See TracTickets for help on using tickets.