lbryio / aioupnp

UPnP for asyncio
MIT License
29 stars 7 forks source link

upnp fails when multiple network adapters enabled #4

Open tzarebczan opened 5 years ago

tzarebczan commented 5 years ago

My PC has 2 network adapters and if I don't disable one one of them, I see:


2019-01-18 11:28:26,447 WARNING  lbrynet.extras.daemon.Components:665: unable to get external ip from UPnP, checking lbry.io fallback```
lyoshenka commented 5 years ago

@jackrobison have you seen this?

tzarebczan commented 5 years ago

This even happens for virtual adapters, like Vmware bridges. It does get the ip from the fallback but the ports are not set, even when using port forwarding:


    "aioupnp_version": "0.0.12",
    "dht_redirect_set": false,
    "external_ip": "24.184.108.248",
    "gateway": "No gateway found",
    "peer_redirect_set": false,
    "redirects": {}```