{"action":"created","issue":{"url":"https://api.github.com/repos/github/hubot/issues/1080","labels_url":"https://api.github.com/repos/github/hubot/issues/1080/labels{/name}","comments_url":"https://api.github.com/repos/github/hubot/issues/1080/comments","events_url":"https://api.github.com/repos/github/hubot/issues/1080/events","html_url":"https://github.com/github/hubot/issues/1080","id":116099137,"number":1080,"title":"Hubot - robot.http get method returns null body & res.  Suspecting hubot timing out","user":{"login":"sggncucumber","id":5887473,"avatar_url":"https://avatars.githubusercontent.com/u/5887473?v=3","gravatar_id":"","url":"https://api.github.com/users/sggncucumber","html_url":"https://github.com/sggncucumber","followers_url":"https://api.github.com/users/sggncucumber/followers","following_url":"https://api.github.com/users/sggncucumber/following{/other_user}","gists_url":"https://api.github.com/users/sggncucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/sggncucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sggncucumber/subscriptions","organizations_url":"https://api.github.com/users/sggncucumber/orgs","repos_url":"https://api.github.com/users/sggncucumber/repos","events_url":"https://api.github.com/users/sggncucumber/events{/privacy}","received_events_url":"https://api.github.com/users/sggncucumber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T12:40:48Z","updated_at":"2015-11-13T10:40:10Z","closed_at":null,"body":"Hubo hear is invoking rest api (written node.js) which in turn returns the screenshot url post processing.  Since the call would take few mins(3 mins max) hubot is timing out hence I am getting NULL body and res so I could not even check the status code or so.\r\n\r\nHow to fix the time out issue with hubot.  Need your help at the earliest.\r\n\r\nsample code,\r\n\r\n  robot.hear /(.*)command text/i, (res) ->\r\n    robot.http(\"http://localhost:9050/command\")\r\n    .get() (err, res1, body) ->\r\n      res.reply \"#{body}\"\r\n\r\nHere body is displaying as NULL in the rocket chat message.  and suspecting the hubot's timeout.  Your help is much appreciated...\r\n\r\nRegards,\r\nGanesan S"},"comment":{"url":"https://api.github.com/repos/github/hubot/issues/comments/156393816","html_url":"https://github.com/github/hubot/issues/1080#issuecomment-156393816","issue_url":"https://api.github.com/repos/github/hubot/issues/1080","id":156393816,"user":{"login":"sggncucumber","id":5887473,"avatar_url":"https://avatars.githubusercontent.com/u/5887473?v=3","gravatar_id":"","url":"https://api.github.com/users/sggncucumber","html_url":"https://github.com/sggncucumber","followers_url":"https://api.github.com/users/sggncucumber/followers","following_url":"https://api.github.com/users/sggncucumber/following{/other_user}","gists_url":"https://api.github.com/users/sggncucumber/gists{/gist_id}","starred_url":"https://api.github.com/users/sggncucumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sggncucumber/subscriptions","organizations_url":"https://api.github.com/users/sggncucumber/orgs","repos_url":"https://api.github.com/users/sggncucumber/repos","events_url":"https://api.github.com/users/sggncucumber/events{/privacy}","received_events_url":"https://api.github.com/users/sggncucumber/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T10:40:10Z","updated_at":"2015-11-13T10:40:10Z","body":"Anybody there for the help!!!"}}