lantern icon indicating copy to clipboard operation
lantern copied to clipboard

igdman port mapping failing

Open myleshorton opened this issue 12 years ago • 5 comments

Receiving the following consistently in logs even though port mapping from the command line continually succeeds. From the command line, the following command works every time:

./install/osx/upnpc -a 192.168.0.6 44377 443 TCP 

Is the binary in igdman different? Is the command we're running different?

11069  2014-08-24 22:06:44,852 ERROR [Thread-28] pt.BasePluggableTransport.run (LoggingStreamHandler.java:101) - Unable to map external port: Unable to map port with igdman 443: Unable to add port mapping: read udp 192.168.0.6:52470: connection refused

myleshorton avatar Aug 25 '14 05:08 myleshorton

At least with the version of upnpc in install/osx/upnpc you don't need to do the whole process of figuring out the IP address of the gateway and specifying it in the url argument.

myleshorton avatar Aug 25 '14 05:08 myleshorton

What happens if you run the go-igdman unit tests?

oxtoacart avatar Aug 25 '14 08:08 oxtoacart

Okay, I mispackaged the upnpc executable when fixing #1737. I've fixed it now. I also went ahead and used the upnpc executables that were already in the install folder, just to be consistent with whatever Lantern was already using.

I've tested the fixed flashlight binaries on Darwin, Windows and Ubuntu 64 bit.

@myleshorton Can we remove the upnpc executables from the install folder, or is anything still referencing those?

oxtoacart avatar Aug 25 '14 09:08 oxtoacart

Re-assigning to @myleshorton for verification...

scouttle avatar Aug 25 '14 17:08 scouttle

Looking great!

myleshorton avatar Aug 25 '14 19:08 myleshorton