Opened 5 years ago

Closed 3 years ago

#1523 closed defect (fixed)

zzzot can't be stopped via /configclients

Reported by: dg Owned by: zzz
Priority: minor Milestone: 0.9.20
Component: apps/plugins Version: 0.9.19
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

I2P version: 0.9.19-0
Java version: Oracle Corporation 1.7.0_75 (OpenJDK Runtime Environment 1.7.0_75-b13)
Wrapper version: 3.5.25
Server version: 8.1.16.v20140903
Servlet version: Jasper JSP 2.1 Engine
Encoding: ANSI_X3.4-1968
Charset: US-ASCII

When stopping zzzot, the zzzot tunnel disappears from under Local Tunnels and also is absent from "I2P Services" on the sidebar.
The button, however, on /configclients continues to be labelled "Stop" (reports Stopped plugin zzzot when pressed) for an indefinite period after use. zzzot cannot be started until the router is restarted.

This log is also printed in /logs because zzzot has indeed stopped.

ERROR [7.0.0.1:7662] .i2ptunnel.I2PTunnelHTTPServer: Error accepting
     java.net.ConnectException: ServerSocket closed
     at net.i2p.client.streaming.impl.ConnectionHandler.accept(ConnectionHandler.java:138)
     at net.i2p.client.streaming.impl.I2PSocketManagerFull.receiveSocket(I2PSocketManagerFull.java:137)
     at net.i2p.client.streaming.impl.I2PServerSocketFull.accept(I2PServerSocketFull.java:38)
     at net.i2p.i2ptunnel.I2PTunnelServer.run(I2PTunnelServer.java:489)
     at java.lang.Thread.run(Thread.java:745)
     at net.i2p.util.I2PThread.run(I2PThread.java:84)

Subtickets

Change History (2)

comment:1 Changed 5 years ago by zzz

Component: unspecifiedapps/plugins
Milestone: undecided0.9.20
Owner: set to zzz
Status: newaccepted

I see one related problem, found when looking for SimpleScheduler? uses in plugins ( #1069 ).

The Cleaner is a SimpleScheduler? (uncancellable) and the data structure in Peer is static. Must convert to SimpleTimer2 and stop it when the plugin is stopped, and get rid of the static. Lazy prrogramming.

For more debugging of the problem in the OP, set PluginStarter? log level to DEBUG.

Fix this before 0.9.20 release, as #1069 was just propped for 0.9.20.

comment:2 Changed 3 years ago by zzz

Resolution: fixed
Status: acceptedclosed

This was fixed in zzzot 0.14.0

Note: See TracTickets for help on using tickets.