Client attempted to register duplicate destination

I2P router issues
Post Reply
User avatar
B0B
Posts: 51
Joined: 18 Mar 2020 11:48
Location: NL

Client attempted to register duplicate destination

Post by B0B »

System: Win10 (Intel quad core, 3.2GHz, 8GB)
I2P version: 0.9.45s-0
Java version: Oracle Corporation 13.0.2 (Java(TM) SE Runtime Environment 13.0.2+8)
Wrapper version: 3.5.25
Server version: 9.2.29.v20191105
XMS: 288MB / 320MB

webapps.susidns.startOnLoad=true
webapps.jsonrpc.startOnLoad=false
webapps.i2ptunnel.startOnLoad=true
webapps.i2psnark.startOnLoad=false
webapps.routerconsole.startOnLoad=true
webapps.imagegen.startOnLoad=true
webapps.susimail.startOnLoad=true

Plugins: MuWire (and external BiglyBT)

Ran this config, (with I2Speed) for weeks without problems. After many forced updates to keep up with the latest MuWire build my memory usage (upped from 288 to 320MB) went up and eventually just runs out of it which shuts down the I2P router.

Re-installing MuWire didn't help. Log shows critical warnings that may explain the strange memory behavior.

Code: Select all

2020/03/24 12:19:46 | CRIT  [2CP Reader 6] 2p.router.client.ClientManager: Client attempted to register duplicate destination i4fptbsris(NUMBERS-HERE)o3htxc4o2liovxjq.b32.i2p
2020/03/24 12:20:44 | CRIT  [CP Reader 15] 2p.router.client.ClientManager: Client attempted to register duplicate destination i4fptbsr(NUMBERS-HERE)sao3htxc4o2liovxjq.b32.i2p
2020/03/24 12:21:13 | CRIT  [CP Reader 18] 2p.router.client.ClientManager: Client attempted to register duplicate destination 7e3q(NUMBERS-HERE)ngv4ietet72joygxv7h6pa.b32.i2p
2020/03/24 12:21:13 | CRIT  [CP Reader 19] 2p.router.client.ClientManager: Client attempted to register duplicate destination 4hb2hv6(NUMBERS-HERE)xva2xiaz5shk7atq.b32.i2p
and also

Code: Select all

24 Mar 2020, 08:46:16 ERROR [2CP Reader 6] .client.ClientConnectionRunner: Disconnecting the client - java.io.EOFException: EOF reading 4 byte value
24 Mar 2020, 08:46:16 ERROR [l Reader 225] lient.impl.I2PSessionMuxedImpl: [MuWire #11558(OPEN)]: Error occurred communicating with router: Router shutdown
net.i2p.client.I2PSessionException: Disconnect Message received: Router shutdown
	at net.i2p.client.impl.DisconnectMessageHandler.handleMessage(DisconnectMessageHandler.java:33)
	at net.i2p.client.impl.I2PSessionImpl.messageReceived(I2PSessionImpl.java:1071)
	at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run2(QueuedI2CPMessageReader.java:56)
	at net.i2p.data.i2cp.I2CPMessageReader$I2CPMessageReaderRunner.run(I2CPMessageReader.java:164)
	at java.base/java.lang.Thread.run(Thread.java:830)
	at net.i2p.util.I2PThread.run(I2PThread.java:103)
24 Mar 2020, 08:46:16 ERROR [l Reader 225] ire.core.hostcache.CacheClient: I2P error occured Router shutdown net.i2p.client.I2PSessionException: Disconnect Message received: Router shutdown
Any hint where to start looking to solve the issue would help as I have not a clue.


Bob
zlatinb

Re: Client attempted to register duplicate destination

Post by zlatinb »

Just a heads up, I encouraged OP to post this here as I suspect there may be some problem related to the plugin loading code.
B0B wrote: 24 Mar 2020 13:36

Code: Select all

2020/03/24 12:19:46 | CRIT  [2CP Reader 6] 2p.router.client.ClientManager: Client attempted to register duplicate destination i4fptbsris(NUMBERS-HERE)o3htxc4o2liovxjq.b32.i2p
2020/03/24 12:20:44 | CRIT  [CP Reader 15] 2p.router.client.ClientManager: Client attempted to register duplicate destination i4fptbsr(NUMBERS-HERE)sao3htxc4o2liovxjq.b32.i2p
2020/03/24 12:21:13 | CRIT  [CP Reader 18] 2p.router.client.ClientManager: Client attempted to register duplicate destination 7e3q(NUMBERS-HERE)ngv4ietet72joygxv7h6pa.b32.i2p
2020/03/24 12:21:13 | CRIT  [CP Reader 19] 2p.router.client.ClientManager: Client attempted to register duplicate destination 4hb2hv6(NUMBERS-HERE)xva2xiaz5shk7atq.b32.i2p
These logs indicate the MW plugin tried to start more than once, which should not happen under any circumstances.
B0B wrote: 24 Mar 2020 13:36

Code: Select all

24 Mar 2020, 08:46:16 ERROR [2CP Reader 6] .client.ClientConnectionRunner: Disconnecting the client - java.io.EOFException: EOF reading 4 byte value
24 Mar 2020, 08:46:16 ERROR [l Reader 225] lient.impl.I2PSessionMuxedImpl: [MuWire #11558(OPEN)]: Error occurred communicating with router: Router shutdown
net.i2p.client.I2PSessionException: Disconnect Message received: Router shutdown
	at net.i2p.client.impl.DisconnectMessageHandler.handleMessage(DisconnectMessageHandler.java:33)
	at net.i2p.client.impl.I2PSessionImpl.messageReceived(I2PSessionImpl.java:1071)
	at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run2(QueuedI2CPMessageReader.java:56)
	at net.i2p.data.i2cp.I2CPMessageReader$I2CPMessageReaderRunner.run(I2CPMessageReader.java:164)
	at java.base/java.lang.Thread.run(Thread.java:830)
	at net.i2p.util.I2PThread.run(I2PThread.java:103)
24 Mar 2020, 08:46:16 ERROR [l Reader 225] ire.core.hostcache.CacheClient: I2P error occured Router shutdown net.i2p.client.I2PSessionException: Disconnect Message received: Router shutdown
These logs can be ignored, it's an intermal MuWire thing which I will fix eventually. They would not be related to the issue with the first log snippet.
User avatar
B0B
Posts: 51
Joined: 18 Mar 2020 11:48
Location: NL

Re: Client attempted to register duplicate destination

Post by B0B »

I'd also note that the I2P console won't auto-start anymore after a new update is installed while the console is configured to do so. (it probably thinks it's already started because of the "duplicate" errors in the log).
Post Reply