{"action":"created","issue":{"url":"https://api.github.com/repos/muffinista/chatterbot/issues/41","repository_url":"https://api.github.com/repos/muffinista/chatterbot","labels_url":"https://api.github.com/repos/muffinista/chatterbot/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/muffinista/chatterbot/issues/41/comments","events_url":"https://api.github.com/repos/muffinista/chatterbot/issues/41/events","html_url":"https://github.com/muffinista/chatterbot/issues/41","id":136547440,"number":41,"title":"chatterbot-register failures","user":{"login":"vcavallo","id":3201135,"avatar_url":"https://avatars.githubusercontent.com/u/3201135?v=3","gravatar_id":"","url":"https://api.github.com/users/vcavallo","html_url":"https://github.com/vcavallo","followers_url":"https://api.github.com/users/vcavallo/followers","following_url":"https://api.github.com/users/vcavallo/following{/other_user}","gists_url":"https://api.github.com/users/vcavallo/gists{/gist_id}","starred_url":"https://api.github.com/users/vcavallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcavallo/subscriptions","organizations_url":"https://api.github.com/users/vcavallo/orgs","repos_url":"https://api.github.com/users/vcavallo/repos","events_url":"https://api.github.com/users/vcavallo/events{/privacy}","received_events_url":"https://api.github.com/users/vcavallo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-02-25T23:40:58Z","updated_at":"2016-03-02T03:32:39Z","closed_at":null,"body":"after pasting the `API Key` and `API Secret` i get a raise on this line:\r\n\r\n`/Users/vincentcavallo/.rvm/gems/ruby-2.3.0/gems/oauth-0.5.0/lib/oauth/consumer.rb:217:in `token_request': 401 Authorization Required (OAuth::Unauthorized)`\r\n\r\nI tried setting up a `yml` file following the manual instructions and then running a bot command (`tweet`, for instance) but that route also fails with this:\r\n\r\n`/Users/vincentcavallo/.rvm/gems/ruby-2.3.0/gems/twitter-5.14.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Could not authenticate you. (Twitter::Error::Unauthorized)`\r\n\r\nI feel like I've followed all the different auth strategies offered by the documentation and nothing has worked. Any suggestions?"},"comment":{"url":"https://api.github.com/repos/muffinista/chatterbot/issues/comments/191037940","html_url":"https://github.com/muffinista/chatterbot/issues/41#issuecomment-191037940","issue_url":"https://api.github.com/repos/muffinista/chatterbot/issues/41","id":191037940,"user":{"login":"muffinista","id":49172,"avatar_url":"https://avatars.githubusercontent.com/u/49172?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinista","html_url":"https://github.com/muffinista","followers_url":"https://api.github.com/users/muffinista/followers","following_url":"https://api.github.com/users/muffinista/following{/other_user}","gists_url":"https://api.github.com/users/muffinista/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinista/subscriptions","organizations_url":"https://api.github.com/users/muffinista/orgs","repos_url":"https://api.github.com/users/muffinista/repos","events_url":"https://api.github.com/users/muffinista/events{/privacy}","received_events_url":"https://api.github.com/users/muffinista/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T03:32:39Z","updated_at":"2016-03-02T03:32:39Z","body":"That is definitely a strange bug, and I'm not able to reproduce it locally. My first guess is that maybe the gem was compiled for 2.2 and something is incompatible with 2.3? You might try uninstalling http_parser and reinstalling it.\r\n\r\nAlternatively, I've got a v2.0 of the gem that I've been thinking about finally releasing. It's possible it will fix this problem for you if you want to give it a try. I think you can install it with:\r\n```\r\ngem install chatterbot --pre\r\n```\r\n\r\nThere's a few things that aren't compatible with code from 1.0 bots though so it might not be an option for you."}}