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

Ports don't unmap #1

Open
benoitlahoz opened this issue Sep 27, 2017 · 0 comments
Open

Ports don't unmap #1

benoitlahoz opened this issue Sep 27, 2017 · 0 comments

Comments

@benoitlahoz
Copy link

benoitlahoz commented Sep 27, 2017

Hi and thank you for the great work.

I'm using nat-upnp-2 like in the example.
It works well and finds my router, then map local <-> public ports THE FIRST TIME I launch the server. But when it comes to unmapping, the gateway returns NaN and the ports aren't unmapped.
So, when I try to 'remap' public ports to different local ports it throws this error:

Error: Request failed: 500
at Error (native)
at needle.post.err (/home/map/www/map/node_modules/nat-upnp-2/lib/nat-upnp/device.js:140:23)
at done (/home/map/www/map/node_modules/needle/lib/needle.js:432:14)
at PassThrough. (/home/map/www/map/node_modules/needle/lib/needle.js:671:11)
at emitNone (events.js:91:20)
at PassThrough.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Any tips on this would be highky appreciated!
Thank you!

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

1 participant