atomashpolskiy / bt

BitTorrent library and client with DHT, magnet links, encryption and more
https://atomashpolskiy.github.io/bt/
Apache License 2.0
2.42k stars 381 forks source link

[BUG] UPnP: Failure to add port mapping #176

Open atomashpolskiy opened 3 years ago

atomashpolskiy commented 3 years ago

Not sure what causes this... Maybe the leading slash in the IP address literal is the problem?

[13/Jul/2021:23:57:08,017] WARN  PortMappingListener: Failed to add port mapping: (PortMapping) Protocol: UDP, 49001 => /172.16.93.1
[13/Jul/2021:23:57:08,019] WARN  PortMappingListener: Reason: Error: Argument Value Invalid (HTTP response was: 500 Internal Server Error)
...
[13/Jul/2021:23:57:08,858] WARN  PortMappingListener: Failed to add port mapping: (PortMapping) Protocol: TCP, 6891 => /172.16.93.1
[13/Jul/2021:23:57:08,858] WARN  PortMappingListener: Reason: Error: Argument Value Invalid (HTTP response was: 500 Internal Server Error)
Tomobobo710 commented 1 year ago

Is this bug causing upnp not to work or is the bug that it just shows these errors in console?