golemfactory / clay

Golem is creating a global market for computing power.
https://golem.network
GNU General Public License v3.0
2.91k stars 286 forks source link

UPNP lease timeout #5160

Closed tmyoungjr closed 4 years ago

tmyoungjr commented 4 years ago

Description

Golem Version: 23.0

Golem-Messages version (leave empty if unsure):

Electron version (if used):

OS [e.g. Windows 10 Pro]: Ubuntu

Branch (if launched from source):

Mainnet/Testnet: mainnet

Priority label is set to the lowest by default. To setup higher priority please change the label P0 label is set for Severity-Critical/Effort-easy P1 label is set for Severity-Critical/Effort-hard P2 label is set for Severity-Low/ Effort-easy P3 label is set for Severity-Low/Effort-hard

Description of the issue:

I'm letting UPNP do the work here for port forwarding. My network consists of Ubiquiti Unifi gear. When UPNP does its port forwarding a "lease" is created for seven days. After seven days that lease is dropped (no more UPNP showing in the router)

Actual result:

UPNP port forwarding "times out"

Screenshots:

If applicable, add screenshots to help explain your problem.

Steps To Reproduce

If the router you're using supports viewing your UPNP leases and timers, observe what happens at the end of the timer.

Expected behavior

Golem refreshes UPNP leases much like DHCP would. Maybe every 72 hours? (accounting for differences in network hardware)

Logs and any additional context

Proposed Solution?

See expected behavior section. Golem automatically refreshing its UPNP ports on a timer (maybe one that can be adjusted within the configuration)