Skip to content

says it added a mapping successfully but doesn't #139

@Ryssiaczrk

Description

@Ryssiaczrk

hello
I tried to add a mapping using 2 libraries

org.chris.portmapper.router.sbbi.SBBIRouterFactory:

DEBUG Connected to router, get IP of localhost from socket...
DEBUG Get IP of localhost
DEBUG Get internal port of router...
DEBUG Got invalid port -1 from presentation url 'http://192.168.100.1'
DEBUG Presentation URL is null or returns invalid port: using port 49652 of base url 'http://192.168.100.1:49652'
DEBUG Got internal router port 49652
DEBUG Get internal IP address...
DEBUG Got internal host name '192.168.100.1' for router.
DEBUG Creating socket to router: 192.168.100.1:49652...
DEBUG Get internal IP address...
DEBUG Got internal host name '192.168.100.1' for router.
DEBUG Got address /192.168.100.3 from socket.
INFO  Adding port mapping minecraft
INFO  Adding port mapping TCP :25565 -> 192.168.100.3:25565 enabled minecraft
INFO  1 port mapping added successfully
DEBUG Getting port mapping with entry number 0...
DEBUG Got no port mapping for entry number 0 (error code: 713, error description: SpecifiedArrayIndexInvalid). Stop getting more entries.
DEBUG Found 0 mappings, 0 mappings returned as null.
INFO  Found 0 mappings

org.chris.portmapper.router.weupnp.WeUPnPRouterFactory:

DEBUG Connected to router, get IP of localhost from socket...
DEBUG Get IP of localhost
DEBUG Got internal router port 49652
DEBUG Creating socket to router: 192.168.100.1:49652...
DEBUG Got address /192.168.100.3 from socket.
INFO  1 port mapping added successfully
DEBUG Getting port mapping 0...
DEBUG Entry 0 does not exist, stop getting more mappings
DEBUG Got null port mapping for index 0
INFO  Found 0 mappings

but my UPnP settings are still empty:
Image

what could be the issue? there is something about a null port mapping?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions