orakaro / rainbowstream

A smart and nice Twitter client on terminal written in Python.
https://github.com/orakaro/rainbowstream
MIT License
3.55k stars 261 forks source link

-- Hangup -- #199

Open ghost opened 8 years ago

ghost commented 8 years ago

Could be due to this

http://www.theregister.co.uk/2016/10/21/dns_dyn_ddos/ Dyn dinged by DDoS: US DNS firm gives web a bad hair day Reddit, Github, Airbnb and pals affected

stephenwithav commented 8 years ago

Are you still getting the Hangup error?

I just installed rainbowstream and the hangup error made me think it wasn't working.

ghost commented 8 years ago

@stephenwithav Yeah, I have been seeing that. I have not tested in a few hours, let me check and get back to you.

edit: Yes it's still happening and it makes sense. Once you've passed a certain number of follows the text would scroll off the screen faster than you could read it. If you run home $n you'll see $n tweets from your feed.

edit2: still getting the hangup even after pausing the stream. I switched to streaming a list of 60 users but it doesn't stream their tweets & keeps giving the Hangup message.

stephenwithav commented 8 years ago

Thank you for the update. I'm receiving hangups fairly quickly, frequently within a minute before anything is streamed.

ghost commented 8 years ago

I'm on Debian Testing, by the way.

$  pip3 show rainbowstream
---
Metadata-Version: 2.0
Name: rainbowstream
Version: 1.3.6
Summary: A smart and nice Twitter client on terminal.
Home-page: http://www.rainbowstream.org/
Author: Vu Nhat Minh
Author-email: nhatminh179@gmail.com
Installer: pip
License: MIT License
Location: /home/manas/.local/lib/python3.5/site-packages
Requires: twitter, PySocks, pyfiglet, arrow, Pillow, requests, python-dateutil, pocket
Classifiers:
  Development Status :: 5 - Production/Stable
  Environment :: Console
  Intended Audience :: End Users/Desktop
  Natural Language :: English
  Operating System :: OS Independent
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3.2
  Programming Language :: Python :: 3.3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
  Topic :: Utilities
  License :: OSI Approved :: MIT License
Entry-points:
  [console_scripts]
  rainbowstream=rainbowstream.rainbow:fly
violetina commented 8 years ago

i can confirm this too, even with -to 300 (timeout 300sec) it hangs up after few seconds, it did work fine before tho -edit: i made a new key for my app, and atm it works again

ghost commented 8 years ago

@violetina @DTVD I've tried making a new key multiple times. I am still receiving the Hangup message.

orakaro commented 8 years ago

My client is working without problem. Twitter API status seems backed to normal: https://dev.twitter.com/overview/status

Are you guy still having hangup error ?

ghost commented 8 years ago

@DTVD Hi,

Yes, I am still seeing the Hangup error.

stephenwithav commented 8 years ago

@DTVD still experiencing here, too.

Would you object to a PR that reconnects on Hangup?

maikell commented 8 years ago

I can confirm this bug on Centos 7, Fedora 24 and Debian Jessie. "Hangup" message after Friday.

stephenwithav commented 8 years ago

I re-authorized the app, initially received a hangup, but now it's working for me.

maikell commented 8 years ago

I can confirm. Nice work!

maikell commented 8 years ago

It worked for about 15 minutes :) "There seems to be a connection problem. You might want to check your proxy settings (host, port and type)!"

stephenwithav commented 8 years ago

Mine is still going strong. I'm afraid to touch it. :fearful:

stephenwithav commented 8 years ago

Switched themes, now Hangups again.

ghost commented 8 years ago

@stephenwithav @maikell I've messaged twitter.com/@Support about this. I didn't hear anything back. We might want to ping them again.

ghost commented 8 years ago

Hi I am in https://gitter.im/DTVD/rainbowstream if anyone would like to co-ordinate figuring out this error Gitter

:)

orakaro commented 8 years ago

Thanks @manasb @stephenwithav and @maikell for reporting. As far as I know this is result of TCP connection break with Twitter Stream API. Currently I can not reproduce this problem but if possible can you guy try and give result of following steps ?

ghost commented 8 years ago

@DTVD

Hi. Yesterday, I tried revoking & re-authorizing rainbowstream. That did not work.

Seems to be functional for now. I will update if necessary.

maikell commented 8 years ago

Is it an idea to change the application name and re-authorize the application? This is so we can check if Twitter actively blocks this CLI application. Will dig around in the code today to try out.

orakaro commented 8 years ago

You can fork and clone a version of RS yourself. Just need to grab new Application’s API key and secret. See "Development" section of Readme

maikell commented 8 years ago

Ok, this is strange. It seems to work again in Debian Jessie, however it failed on me this morning in Fedora 24. I'll reinstall it tonight and report back if it works.