Skip to content
This repository has been archived by the owner on Jun 25, 2018. It is now read-only.

Twitter:Error:Unauthorized #143

Open
smiba opened this issue Jul 21, 2017 · 1 comment
Open

Twitter:Error:Unauthorized #143

smiba opened this issue Jul 21, 2017 · 1 comment

Comments

@smiba
Copy link

smiba commented Jul 21, 2017

The bot always worked, until I updated it today. Not sure what caused it but somewhere in the period of now and 6 months (last time of restart) something changed preventing it from logging in. Before the restart it went just fine so the keys did not expire

Any idea?

@bot: User information updated
@bot: Loading model model/tweets.model
@bot: starting tweet stream
@bot: Twitter::Error::Unauthorized
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/response.rb:21:in `on_headers_complete'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/response.rb:16:in `<<'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/response.rb:16:in `<<'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/connection.rb:22:in `stream'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/client.rb:119:in `request'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter-5.17.0/lib/twitter/streaming/client.rb:92:in `user'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter_ebooks-3.1.6/lib/twitter_ebooks/bot.rb:362:in `start'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter_ebooks-3.1.6/bin/ebooks:346:in `block (3 levels) in start'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter_ebooks-3.1.6/bin/ebooks:344:in `loop'
        /usr/local/rvm/gems/ruby-2.3.3/gems/twitter_ebooks-3.1.6/bin/ebooks:344:in `block (2 levels) in start'
@bot: Sleeping before reconnect
@rafitamolin
Copy link

I'm getting this same error. Did you manage to fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants