Twitter::Error::Unauthorized

HI
I'm new to EKL and trying to learn this. I've installed the logstash-2.2.2 and elasticsearch-2.1.1 in my machine. I'm trying to read the twitters feed as given in the logstash guide but it's throwing the Unauthorized exception. Please follow the configuration in my conf file:
input {
twitter {
consumer_key => "XXXXXXXXXXXXXX"
consumer_secret => "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
follows => ["Oracle","Java"]
full_tweet => true
oauth_token => "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
oauth_token_secret => "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
output {
elasticsearch {
hosts => ["127.0.0.1:9200"]
}
}

The output when starting the logstash is as below:
Logstash startup completed
←[33m {:exception=>Twitter::Error::Unauthorized, :backtrace=>["C:/EKL/logstash-2
.2.2/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/twitter/streaming/response.
rb:21:in on_headers_complete'", "org/ruby_http_parser/RubyHttpParser.java:370:i n<<'", "C:/EKL/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/
twitter/streaming/response.rb:16:in <<'", "C:/EKL/logstash-2.2.2/vendor/bundle/ jruby/1.9/gems/logstash-input-twitter-2.2.0/lib/logstash/inputs/twitter/patches. rb:31:instream'", "C:/EKL/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash
-input-twitter-2.2.0/lib/logstash/inputs/twitter/patches.rb:58:in request'", "C :/EKL/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/twitter/str eaming/client.rb:37:infilter'", "C:/EKL/logstash-2.2.2/vendor/bundle/jruby/1.9
/gems/logstash-input-twitter-2.2.0/lib/logstash/inputs/twitter.rb:128:in run'", "C:/EKL/logstash-2.2.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/li b/logstash/pipeline.rb:331:ininputworker'", "C:/EKL/logstash-2.2.2/vendor/bund
le/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:325:in `star
t_input'"], :options=>nil, :level=>:warn}←[0m

I've tried to read the feeds from a java program same time from the same machine with same access keys and oauth keys and it's working very well and printing all the feeds there. It is clear now there is no firewall or machine issue here. It seems there is some issue or bug and Logstash end.
Please help to resolve this as it is a show stopper issue for me now.

Thanks
Jitender

Anybody is there who can help me on this bug?????????

I have the same issue after running the plugin for the first hour. It ran initially but then i stopped the process to clear down my index and change the keywords now every time I start it I have the unauthorised issue. The only thing that changed from working to not working was the keywords.

I tried waiting in case it was being throttled due to too many requests, I also regenerated my keys with Twitter to no avail.

{:exception=>Twitter::Error::Unauthorized, :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/twitter/streaming/response.rb:21:in on_headers_complete'", "org/ruby_http_parser/RubyHttpParser.java:370:in<<'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/twitter/streaming/response.rb:16:in <<'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-2.2.0/lib/logstash/inputs/twitter/patches.rb:31:instream'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-2.2.0/lib/logstash/inputs/twitter/patches.rb:58:in request'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/twitter-5.15.0/lib/twitter/streaming/client.rb:37:infilter'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-twitter-2.2.0/lib/logstash/inputs/twitter.rb:128:in run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:331:ininputworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.2.2-java/lib/logstash/pipeline.rb:325:in `start_input'"], :options=>nil, :level=>:warn}