lbry-sdk icon indicating copy to clipboard operation
lbry-sdk copied to clipboard

fail when testing upnp port mappings for multiple devices

Open jessopb opened this issue 2 years ago • 0 comments

lbrynet version 106

2022-03-12 16:59:37,949 INFO     lbry.extras.daemon.components:558: found upnp gateway: NETGEAR C3000-100NAS
2022-03-12 16:59:38,129 INFO     lbry.extras.daemon.components:588: add UPnP port mappings
...
2022-03-12 16:59:38,822 ERROR    lbry.extras.daemon.components:647: failed to setup upnp

I was told that the sdk would map 4445 if 4444 was already taken, and forward it internally, and display the actual mapped port in status. I started lbry on another device which took ownership of 4444 using upnp. Then I started the daemon on linux and got the above error.

Freeing up the port, linux properly maps 4444 on the router. Also, I tested to see if ufw allow 4445 made a difference - it did not. It still failed.

jessopb avatar Mar 12 '22 22:03 jessopb