Opened 4 years ago

Closed 3 years ago

#1681 closed defect (fixed)

UPnP start failed - port conflict?; UPnP error, please report

Reported by: djjeshk Owned by: zzz
Priority: minor Milestone: 0.9.28
Component: router/transport Version: 0.9.22
Keywords: UPnP Cc:
Parent Tickets: #728

Description

I have multiple UPnP applications and all but I2P works normally. I do not see any port number in logs that might provide clue to this issue. JVM process is listening to port 1900 using UDP and UDP6 protocol and another applications does the same.

I2P version: 0.9.22-0
Java version: Oracle Corporation 1.8.0_60 (Java(TM) SE Runtime Environment 1.8.0_60-b27)
Wrapper version: 3.5.25
Server version: 8.1.17.v20150415
Servlet version: Jasper JSP 2.1 Engine
Platform: Windows 7 x86 6.1
Processor: Core 2 (45nm) (core2)
Jbigi: Locally optimized library jbigi-windows-core2.dll loaded from file
Encoding: Cp1257
Charset: windows-1257

Router logs:

ERROR [JobQueue 1/1] p.router.transport.UPnPManager: UPnP start failed - port conflict?
ERROR [JobQueue 1/1] p.router.transport.UPnPManager: UPnP error, please report
     java.lang.NullPointerException
     at org.cybergarage.upnp.ssdp.HTTPUSocket.getLocalAddress(HTTPUSocket.java:95)
     at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocketList.post(SSDPSearchResponseSocketList.java:152)
     at org.cybergarage.upnp.ControlPoint.search(ControlPoint.java:557)
     at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:891)
     at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:921)
     at net.i2p.router.transport.UPnP.runPlugin(UPnP.java:116)
     at net.i2p.router.transport.UPnPManager.start(UPnPManager.java:88)
     at net.i2p.router.transport.TransportManager.startListening(TransportManager.java:244)
     at net.i2p.router.transport.CommSystemFacadeImpl.startup(CommSystemFacadeImpl.java:61)
     at net.i2p.router.startup.BootCommSystemJob.runJob(BootCommSystemJob.java:43)
     at net.i2p.router.JobQueueRunner.runCurrentJob(JobQueueRunner.java:134)
     at net.i2p.router.JobQueueRunner.run(JobQueueRunner.java:77)

Service (Wrapper) Logs:

| Exception in thread "Cyber.SSDPSearchResponseSocket/" java.lang.NullPointerException
| 	at org.cybergarage.upnp.ssdp.HTTPUSocket.getLocalAddress(HTTPUSocket.java:95)
| 	at org.cybergarage.upnp.ssdp.HTTPUSocket.receive(HTTPUSocket.java:218)
| 	at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.run(SSDPSearchResponseSocket.java:74)

Subtickets

Change History (7)

comment:1 Changed 4 years ago by zzz

  • Component changed from unspecified to router/transport
  • Owner set to zzz

comment:2 Changed 4 years ago by zzz

  • Parent Tickets set to 728
  • Status changed from new to infoneeded_new

Dup of #728, please review that ticket to see if your setup is similar

Please give us your UPnP device topology.

The following diagnostic (in html format) may be helpful to you. If you post here, please review for identifying information.

java -cp i2p.jar:router.jar net.i2p.router.transport.UPnP > upnp.html
firefox upnp.html

comment:3 Changed 4 years ago by zzz

  • Keywords UPnP added

comment:4 Changed 4 years ago by djjeshk

  • Status changed from infoneeded_new to new

Error: Could not find or load main class net.i2p.router.transport.UPnP.

I have running two parallel i2p routers at same time with different internal port numbers. Maybe something broke during upgrade, need to investigate. My network topology: My device ---> UPnP enabled router ---> Modem (no restrictions) ---> Internet.

Last edited 4 years ago by djjeshk (previous) (diff)

comment:5 Changed 4 years ago by djjeshk

Update: Java version: Oracle Corporation 1.8.0_65 (Java(TM) SE Runtime Environment 1.8.0_65-b17)

comment:6 Changed 4 years ago by zzz

run that command from $I2P/lib or add paths like -cp /path/to/lib/i2p.jar;/path/to/lib/router.jar

but it doesn't sound like it is similar to the #728 issue.

no ideas atm

comment:7 Changed 3 years ago by zzz

  • Milestone changed from undecided to 0.9.28
  • Resolution set to fixed
  • Status changed from new to closed

in 4cae8a65d4dc2f2a20e9863425f05c664688d2e2 0.9.27-9

Note: See TracTickets for help on using tickets.