lbryio / aioupnp

UPnP for asyncio
MIT License
29 stars 7 forks source link

prevents startup KeyError: 'NewExternalIPAddress #14

Closed tzarebczan closed 5 years ago

tzarebczan commented 5 years ago
2019-08-14 20:11:28,691 INFO     lbry.extras.daemon.Components:482: found upnp gateway: AVM Berlin WANConnectionDevice - FRITZ!Box Fon WLAN 7390
2019-08-14 20:11:28,706 ERROR    lbry.extras.daemon.Component:62: Error setting up upnp
Traceback (most recent call last):
  File "lbry\extras\daemon\Component.py", line 55, in _setup
  File "lbry\extras\daemon\Components.py", line 562, in start
  File "lbry\extras\daemon\Components.py", line 493, in _maintain_redirects
  File "site-packages\aioupnp\upnp.py", line 122, in get_external_ip
  File "site-packages\aioupnp\commands.py", line 231, in GetExternalIPAddress
  File "site-packages\aioupnp\commands.py", line 153, in wrapper
  File "site-packages\aioupnp\commands.py", line 42, in recast_return
KeyError: 'NewExternalIPAddress'