Page 1 of 1

I2psnark / i2pd 2.59: 503

Posted: 09 Feb 2026 12:46
by pad
Dear all,

when I build i2psnark from github state 8dcda34da1cc9acbc1e9f4d6e1e970dd0f13b0ba (rc11), I get an 503 jetty error.
I don't think i2pd has anything to do with it, I just mentioned as I upgraded both components.
The process itself does not crash, it comes up and keeps running.

I switched back to a build I did in december, things are working fine this way.

Changes I make in order to be able to access snark in a docker container and to increase available heap:
sed -i 's/127.0.0.1/0.0.0.0/' /i2psnark/jetty-i2psnark.xml
sed -i 's/Xmx512m/Xmx1024m/' /i2psnark/launch-i2psnark

Is it just me or can someone replicate the issue?

Re: I2psnark / i2pd 2.59: 503

Posted: 09 Feb 2026 21:19
by zzz
Reproduced here, thank you for the report, will hopefully fix it soon, but won't be until after the release. I may be able to provide a patch.

Re: I2psnark / i2pd 2.59: 503

Posted: 09 Feb 2026 21:27
by zzz
Here you go

Code: Select all

diff --git a/apps/i2psnark/java/build.xml b/apps/i2psnark/java/build.xml
index b78e34e59..aad4f3ad1 100644
--- a/apps/i2psnark/java/build.xml
+++ b/apps/i2psnark/java/build.xml
@@ -240,9 +240,7 @@
         <fileset dir="build/obj" includes="**/standalone/*.class" />
         <zipfileset src="build/i2psnark.jar" />
         <zipfileset src="../../../core/java/build/i2p.jar" />
-      <!-- without this we get a warning about 'no JSP support' but that's it
         <zipfileset src="../../jetty/jettylib/jasper-runtime.jar"  />
-       -->
         <zipfileset src="../../jetty/jettylib/javax.servlet.jar" />
         <zipfileset src="../../jetty/jettylib/jetty-continuation.jar" />
         <zipfileset src="../../jetty/jettylib/jetty-deploy.jar" />