{"action":"created","issue":{"url":"https://api.github.com/repos/miniupnp/miniupnp/issues/199","repository_url":"https://api.github.com/repos/miniupnp/miniupnp","labels_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/199/comments","events_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/199/events","html_url":"https://github.com/miniupnp/miniupnp/issues/199","id":161919522,"number":199,"title":"lease time not updated","user":{"login":"axet","id":298672,"avatar_url":"https://avatars.githubusercontent.com/u/298672?v=3","gravatar_id":"","url":"https://api.github.com/users/axet","html_url":"https://github.com/axet","followers_url":"https://api.github.com/users/axet/followers","following_url":"https://api.github.com/users/axet/following{/other_user}","gists_url":"https://api.github.com/users/axet/gists{/gist_id}","starred_url":"https://api.github.com/users/axet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axet/subscriptions","organizations_url":"https://api.github.com/users/axet/orgs","repos_url":"https://api.github.com/users/axet/repos","events_url":"https://api.github.com/users/axet/events{/privacy}","received_events_url":"https://api.github.com/users/axet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-23T13:13:14Z","updated_at":"2016-06-24T19:49:28Z","closed_at":null,"body":"Hello!\r\n\r\nI setup home openwrt router with miniupnpd, and debuging how external port assigned. Not sure who to blame yet, but seems like miniupnp does not update lease time when I send repeated requests 'AddPortMapping'\r\n\r\nTo get port I have to provide port information and lease time. For example when I ask to keep port for 5 minutes, I keep in mind I will request port again after 1 minute to keep port assigned to me without interruptions.\r\n\r\nUsing cat /tmp/upnp.leases I can check how long leases stands and find out lease time not been updated after I send 'AddPortMapping' request.\r\n\r\nI'm using https://github.com/syncthing/syncthing/blob/master/lib/upnp library, which should be ok."},"comment":{"url":"https://api.github.com/repos/miniupnp/miniupnp/issues/comments/228444821","html_url":"https://github.com/miniupnp/miniupnp/issues/199#issuecomment-228444821","issue_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/199","id":228444821,"user":{"login":"miniupnp","id":1070377,"avatar_url":"https://avatars.githubusercontent.com/u/1070377?v=3","gravatar_id":"","url":"https://api.github.com/users/miniupnp","html_url":"https://github.com/miniupnp","followers_url":"https://api.github.com/users/miniupnp/followers","following_url":"https://api.github.com/users/miniupnp/following{/other_user}","gists_url":"https://api.github.com/users/miniupnp/gists{/gist_id}","starred_url":"https://api.github.com/users/miniupnp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniupnp/subscriptions","organizations_url":"https://api.github.com/users/miniupnp/orgs","repos_url":"https://api.github.com/users/miniupnp/repos","events_url":"https://api.github.com/users/miniupnp/events{/privacy}","received_events_url":"https://api.github.com/users/miniupnp/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T19:49:28Z","updated_at":"2016-06-24T19:49:28Z","body":"lease file is created by miniupnpd not miniupnpc.\r\na bug was fixed in commit 430dcc7b22d593295150210832d29a3912a509\r\nplease update to miniupnpd 2.0"}}
{"actor":{"display_login":"miniupnp"}}