{"action":"created","issue":{"url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/33","labels_url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/33/comments","events_url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/33/events","html_url":"https://github.com/StackStorm/hubot-stackstorm/issues/33","id":98744417,"number":33,"title":"ERROR: Unauthorized","user":{"login":"armab","id":1533818,"avatar_url":"https://avatars.githubusercontent.com/u/1533818?v=3","gravatar_id":"","url":"https://api.github.com/users/armab","html_url":"https://github.com/armab","followers_url":"https://api.github.com/users/armab/followers","following_url":"https://api.github.com/users/armab/following{/other_user}","gists_url":"https://api.github.com/users/armab/gists{/gist_id}","starred_url":"https://api.github.com/users/armab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armab/subscriptions","organizations_url":"https://api.github.com/users/armab/orgs","repos_url":"https://api.github.com/users/armab/repos","events_url":"https://api.github.com/users/armab/events{/privacy}","received_events_url":"https://api.github.com/users/armab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-03T13:37:17Z","updated_at":"2015-10-12T14:40:29Z","closed_at":null,"body":"Running it on production with authentication enabled. At start it works ok, but after some period of time when trying to run chatops command I get:\r\n\r\n![error](http://i.imgur.com/g8jvROd.png)\r\n\r\nVersion: \r\n`hubot-stackstorm` `0.2.1`\r\n\r\nLog: \r\n```log\r\n[Wed Jul 29 2015 16:50:44 GMT+0000 (UTC)] INFO Connecting...\r\n[Wed Jul 29 2015 16:50:44 GMT+0000 (UTC)] INFO Logged in as chatopsbot of ..., but not yet connected\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO Slack client now connected\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO Performing authentication...\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO /opt/hubot/node_modules/hubot-stackstorm/scripts/stackstorm.js is using deprecated documentation syntax\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO hubot-redis-brain: Using default redis on localhost:6379\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO Loading commands....\r\n[Wed Jul 29 2015 16:50:45 GMT+0000 (UTC)] INFO hubot-redis-brain: Data for hubot brain retrieved from Redis\r\n[Wed Jul 29 2015 16:52:45 GMT+0000 (UTC)] INFO Loading commands....\r\n[Wed Jul 29 2015 16:54:45 GMT+0000 (UTC)] INFO Loading commands....\r\n...\r\n(note exactly 24h interval)\r\n...\r\n[Thu Jul 30 2015 16:48:47 GMT+0000 (UTC)] INFO Loading commands....\r\n[Thu Jul 30 2015 16:50:47 GMT+0000 (UTC)] INFO Loading commands....\r\n[Thu Jul 30 2015 16:50:47 GMT+0000 (UTC)] ERROR Failed to retrieve commands: {\r\n    \"faultstring\": \"Unauthorized\"\r\n}\r\n[Thu Jul 30 2015 16:52:47 GMT+0000 (UTC)] INFO Loading commands....\r\n[Thu Jul 30 2015 16:52:47 GMT+0000 (UTC)] ERROR Failed to retrieve commands: {\r\n    \"faultstring\": \"Unauthorized\"\r\n}\r\n```\r\n\r\nSeems something related to expired tokens,\r\nbecause after restarting hubot it returns back to normal."},"comment":{"url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/comments/147416867","html_url":"https://github.com/StackStorm/hubot-stackstorm/issues/33#issuecomment-147416867","issue_url":"https://api.github.com/repos/StackStorm/hubot-stackstorm/issues/33","id":147416867,"user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T14:40:29Z","updated_at":"2015-10-12T14:40:29Z","body":"It looks like this is the same issue as #45.\r\n\r\nI will make sure this \"limitation\" gets noted in the readme for now."}}