{"action":"opened","issue":{"url":"https://api.github.com/repos/fraunhoferfokus/peer-upnp/issues/14","repository_url":"https://api.github.com/repos/fraunhoferfokus/peer-upnp","labels_url":"https://api.github.com/repos/fraunhoferfokus/peer-upnp/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/fraunhoferfokus/peer-upnp/issues/14/comments","events_url":"https://api.github.com/repos/fraunhoferfokus/peer-upnp/issues/14/events","html_url":"https://github.com/fraunhoferfokus/peer-upnp/issues/14","id":179527678,"number":14,"title":"Timeout in httpRequest","user":{"login":"mattbrain","id":10684487,"avatar_url":"https://avatars.githubusercontent.com/u/10684487?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrain","html_url":"https://github.com/mattbrain","followers_url":"https://api.github.com/users/mattbrain/followers","following_url":"https://api.github.com/users/mattbrain/following{/other_user}","gists_url":"https://api.github.com/users/mattbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrain/subscriptions","organizations_url":"https://api.github.com/users/mattbrain/orgs","repos_url":"https://api.github.com/users/mattbrain/repos","events_url":"https://api.github.com/users/mattbrain/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T15:30:06Z","updated_at":"2016-09-27T15:30:06Z","closed_at":null,"body":"I came across a minor bug when using this on a relatively low powered RPi. When discovering a service of which there were many instances, the http.request was throwing a timeout and ultimately crashing as the server (which was hosting all these services) failed to respond quickly enough. \r\n\r\nTo overcome it I increased the timeout in req.setTimeout by a factor of 10, but i'm sure there is a more elegant way of handling this situation."}}
{"actor":{"display_login":"mattbrain"}}