Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting "UPnP is not enabled" even though it is #84

Open
BlohoJo opened this issue Sep 18, 2024 · 8 comments
Open

I'm getting "UPnP is not enabled" even though it is #84

BlohoJo opened this issue Sep 18, 2024 · 8 comments

Comments

@BlohoJo
Copy link

BlohoJo commented Sep 18, 2024

On http://127.0.0.1:7657/confignet, I have "Enable UPnP to open firewall ports" selected.

On http://127.0.0.1:7657/peers?tx=upnp, it says "UPnP is not enabled".

I'm using the latest I2P version 2.6.1-0, running on Windows 7.

I have tried unselecting it, restarting I2P, selecting it, then restarting I2P again. It didn't affect the issue.

01_i2p_network_config

02_i2p_upnp_config

Logs:

I2P version:		2.6.1-0
API version:		0.9.63
Java version:		Oracle Corporation 1.8.0_341 (Java(TM) SE Runtime Environment 1.8.0_341-b10)
Wrapper version:	none
Server version:		9.3.30.v20211001
Servlet version:	Jasper JSP 2.3 Engine (3.1)
JSTL version:		standard-taglib 1.2.0
Platform:		Windows Server 2008 R2 amd64 6.1
Processor:		Kaby Lake Core i3/i5/i7 (coreibwl)
JBigI status:		Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
GMP version:		6.0.0
JBigI version:		3
JCpuId version:		3
Encoding:		Cp1252
Charset:		windows-1252
Service:		false
Revision:		903d69eb01b06584d04ea4ac8ccd46b742575793
Built:			2024-08-07 02:00:22 UTC
Built By:		idk
Critical Logs
No log messages
Sep 17, 2024 7:26:26 PM WARN  [main        ] .tunnel.BloomFilterIVValidator: Configured for 11.14MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in C:\Program Files\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
Sep 17, 2024 7:34 PM	Reachability change	from OK to Firewalled
Sep 17, 2024 7:26 PM	Started router	2.6.1-0
Sep 17, 2024 7:26 PM	Stopped router	3
Sep 17, 2024 5:20 PM	Started router	2.6.1-0
Sep 17, 2024 5:20 PM	Crashed	64 sec ago
Sep 17, 2024 5:19 PM	Started router	2.6.1-0
Sep 17, 2024 5:19 PM	Crashed	56 min ago
Sep 17, 2024 7:10 AM	Started router	2.6.1-0
Sep 16, 2024 11:41 PM	Stopped router	3
Sep 16, 2024 11:04 PM	Reseeded router	152
Sep 16, 2024 11:04 PM	New router identity	65rE14tdjumBC3vItKqfXSngsL3tEH0iezGArrx8GF4=
Sep 16, 2024 11:04 PM	Started router	2.6.1-0
Setting up new user directory C:\Users\Administrator\AppData\Local\I2P
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\cgi-bin
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\contexts
Copied File C:\Program Files\i2p\eepsite\contexts\base-context.xml
Copied File C:\Program Files\i2p\eepsite\contexts\cgi-context.xml
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\docroot
Copied File C:\Program Files\i2p\eepsite\docroot\favicon.ico
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\docroot\help
Copied File C:\Program Files\i2p\eepsite\docroot\help\index.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_ar.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_az.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_de.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_el.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_es.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_fa.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_fr.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_hu.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_in.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_it.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_ja.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_nl.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_pl.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_pt.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_ro.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_ru.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_sv.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_tr.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_uk.html
Copied File C:\Program Files\i2p\eepsite\docroot\help\index_zh.html
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\docroot\help\lib
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\az.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\brown.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\cn.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\de.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\eepsite.css
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\eepsite_zh.css
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\es.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\fr.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\gr.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\h2bg.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\hu.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\id.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\ir.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\it.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\itoopie.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\jetty-dir.css
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\jp.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\lang_ar.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\nl.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\pagebg.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\pl.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\pt.png
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\docroot\help\lib\resources
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\audio.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\file.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\flash.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\folder.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\folder_32x32.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\folder_open.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\image.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\iso.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\pdf.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\playlist.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\text.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\video.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\word.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\resources\zip.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\ro.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\ru.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\se.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\tr.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\ua.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\lib\us.png
Copied File C:\Program Files\i2p\eepsite\docroot\help\pagetemplate.html
Copied File C:\Program Files\i2p\eepsite\docroot\index.html
Copied File C:\Program Files\i2p\eepsite\docroot\robots.txt
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\etc
Copied File C:\Program Files\i2p\eepsite\etc\realm.properties
Copied File C:\Program Files\i2p\eepsite\etc\webdefault.xml
Copied File C:\Program Files\i2p\eepsite\jetty-jmx.xml
Copied File C:\Program Files\i2p\eepsite\jetty-rewrite.xml
Copied File C:\Program Files\i2p\eepsite\jetty-ssl.xml
Copied File C:\Program Files\i2p\eepsite\jetty.xml
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\logs
Created File C:\Users\Administrator\AppData\Local\I2P\eepsite\webapps
Copied File C:\Program Files\i2p\hosts.txt
Copied File C:\Program Files\i2p\i2psnark.config
Copied File C:\Program Files\i2p\i2ptunnel.config
Copied C:\Program Files\i2p\eepsite\jetty.xml with modifications
Copied C:\Program Files\i2p\eepsite\jetty-ssl.xml with modifications
Copied C:\Program Files\i2p\eepsite\contexts\base-context.xml with modifications
Copied C:\Program Files\i2p\eepsite\contexts\cgi-context.xml with modifications
Copied file C:\Program Files\i2p\clients.config with modifications
Successfully copied data files to new user directory C:\Users\Administrator\AppData\Local\I2P
INFO: Native CPUID library jcpuid-x86-windows.dll loaded from resource
INFO: Resource name [jbigi-windows-coreibwl_64.dll] was not found
INFO: Resource name [jbigi-windows-coreibwl.dll] was not found
INFO: Loaded library: jar:file:/C:/Program%20Files/i2p/lib/jbigi.jar!/jbigi-windows-coreihwl_64.dll
INFO: Native BigInteger library jbigi-windows-coreihwl_64.dll loaded from resource
Reseed start
Reseeding from https://i2p.novg.net/i2pseeds.su3?netid=2
INFO: 77 files extracted to C:\Users\ADMINI~1\AppData\Local\Temp\i2p-0E5fyZEX.tmp\reseeds-759942971
Reseed got 77 router infos from https://i2p.novg.net/i2pseeds.su3?netid=2 with 0 errors
Reseeding from https://reseed-fr.i2pd.xyz/i2pseeds.su3?netid=2
INFO: 75 files extracted to C:\Users\ADMINI~1\AppData\Local\Temp\i2p-0E5fyZEX.tmp\reseeds-1691944963
Reseed got 75 router infos from https://reseed-fr.i2pd.xyz/i2pseeds.su3?netid=2 with 0 errors
Reseed successful, fetched 152 router infos
Sep 16, 2024 11:41:45 PM CRIT  [ShutdownHook] net.i2p.router.Router         : Shutdown imminent
Sep 16, 2024 11:41:45 PM CRIT  [ShutdownHook] net.i2p.router.Router         : Shutdown(3) complete
INFO: Native CPUID library jcpuid-x86-windows loaded from file
INFO: Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
WARN: Configured for 11.14MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in C:\Program Files\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
2024/09/17 17:18:44 | --> Wrapper Started as Console
2024/09/17 17:18:44 | Java Service Wrapper Community Edition 64-bit 3.5.25
2024/09/17 17:18:44 |   Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
2024/09/17 17:18:44 |     http://wrapper.tanukisoftware.com
2024/09/17 17:18:44 | 
2024/09/17 17:18:45 | Launching a JVM...
2024/09/17 17:19:06 | WrapperManager: Initializing...
2024/09/17 17:19:09 | Starting I2P 2.6.1-0
2024/09/17 17:19:10 | WARN: Old router was not shut down gracefully, deleting C:\Users\Administrator\AppData\Local\I2P\router.ping
2024/09/17 17:19:11 | INFO: Native CPUID library jcpuid-x86-windows loaded from file
2024/09/17 17:19:11 | INFO: Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
2024/09/17 17:19:15 | WARN: Configured for 11.14MiBps share bandwidth but only 245.50MiB available memory. Recommend increasing wrapper.java.maxmemory in C:\Program Files\i2p\wrapper.config to at least 281 (MB) if the actual share bandwidth exceeds 1.50MiBps.
WARN: There may be another router already running. Waiting a while to be sure...
WARN: Old router was not shut down gracefully, deleting C:\Users\Administrator\AppData\Local\I2P\router.ping
INFO: No, there wasn't another router already running. Proceeding with startup.
INFO: Native CPUID library jcpuid-x86-windows loaded from file
INFO: Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
WARN: Configured for 11.14MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in C:\Program Files\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
Sep 17, 2024 7:26:08 PM CRIT  [ShutdownHook] net.i2p.router.Router         : Shutdown imminent
Sep 17, 2024 7:26:09 PM CRIT  [ShutdownHook] net.i2p.router.Router         : Shutdown(3) complete
INFO: Native CPUID library jcpuid-x86-windows loaded from file
INFO: Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
WARN: Configured for 11.14MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in C:\Program Files\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
@BlohoJo
Copy link
Author

BlohoJo commented Sep 18, 2024

I tried updating Java to the latest version (8.0 Update 421) but it had no effect on the problem.

I also tried opening the TCP and UDP port in Windows firewall but it had no effect on the problem. (I'm unable to configure the physical router.)

I2P Version and Running Environment

I2P version:		2.6.1-0
API version:		0.9.63
Java version:		Oracle Corporation 1.8.0_421 (Java(TM) SE Runtime Environment 1.8.0_421-b09)
Wrapper version:	none
Server version:		9.3.30.v20211001
Servlet version:	Jasper JSP 2.3 Engine (3.1)
JSTL version:		standard-taglib 1.2.0
Platform:		Windows Server 2008 R2 amd64 6.1
Processor:		Kaby Lake Core i3/i5/i7 (coreibwl)
JBigI status:		Locally optimized library jbigi-windows-coreihwl_64.dll loaded from file
GMP version:		6.0.0
JBigI version:		3
JCpuId version:		3
Encoding:		Cp1252
Charset:		windows-1252
Service:		false
Revision:		903d69eb01b06584d04ea4ac8ccd46b742575793
Built:			2024-08-07 02:00:22 UTC
Built By:		idk

@eyedeekay
Copy link
Contributor

ACK, I'll look into this problem before the 2.7.0 release if possible. Thank you for the report.

@quartermarsh
Copy link

@eyedeekay - ditto on macos 10.14.6 but everything works afaict: most recent uptime = 11 days - used 629GB / 602GB
off topic but I'm struggling to get blizzard working with the linux plugin (the main reason I spun up i2p in the first place). should I open an issue or is still a wip for darwin?

@eyedeekay
Copy link
Contributor

I am actually closing in on the blizzard thing already it will come with some docs updates this week. No new issue required there. Thanks for the heads up about other platforms experiencing upnp issues.

@zzzi2p
Copy link
Contributor

zzzi2p commented Sep 28, 2024

Thanks for the report. There are some cases where UPnP is enabled but fails to start, but it isn't logged and the UI says "is not enabled". So it's a logging/UI issue only. It is getting enabled, it just wasn't successful. We can try to track it down but it's unlikely to happen for this release.

@quartermarsh
Copy link

I am actually closing in on the blizzard thing already it will come with some docs updates this week.

If you could post a link to the update I'd much appreciate it \0/

@zzzi2p
Copy link
Contributor

zzzi2p commented Nov 29, 2024

net.i2p.router.transport.UPnP and net.i2p.router.transport.UPnPManager are good classes to log to investigate UPnP issues

github-actions bot pushed a commit to sysfce2/i2p that referenced this issue Nov 29, 2024
@zzzi2p
Copy link
Contributor

zzzi2p commented Nov 29, 2024

Improved error message on UPnP tab when enabled but fails to start, in 085bbbb to be 2.7.0-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants