jugyo / earthquake

Twitter terminal client with streaming API support.
MIT License
661 stars 94 forks source link

Earthquake occasionally dies and dumps core #153

Open dakrone opened 11 years ago

dakrone commented 11 years ago

Here's the relevant error:

⚡ earthquake: error: invalid status code: 503.
earthquake: reconnecting in: 10 seconds
terminate called after throwing an instance of 'std::runtime_error'
  what():  call SetTlsParms before calling StartTls
[1]    2916 abort (core dumped)  earthquake
ooduor commented 11 years ago

This issue is still there :(

noisufnoc commented 11 years ago

Yep. Same here.

Ruby 1.9.3 on ubuntu

wari commented 10 years ago

Anyway to debug this? I get the same error, without the 503 and reconnecting messages.

jottr commented 10 years ago

+1

ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

Are there reasons why https://github.com/jugyo/earthquake/pull/140 has not been merged, since @frasertweedale claims that it fixes the issue?

itwars commented 10 years ago

Same thing here on a vagrant-ubuntu-trusty-64 + ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] :

  ___  __ _ _ __| |_| |__   __ _ _   _  __ _| | _____
 / _ \/ _` | '__| __| '_ \ / _` | | | |/ _` | |/ / _ \
|  __/ (_| | |  | |_| | | | (_| | |_| | (_| |   <  __/
 \___|\__,_|_|   \__|_| |_|\__, |\__,_|\__,_|_|\_\___|
                              |_|               v1.0.2

⚡ terminate called after throwing an instance of 'std::runtime_error'
  what():  Encryption not available on this event-machine
Aborted (core dumped)
mattn commented 10 years ago

Did you install openssl before installation of eventmachine?

itwars commented 10 years ago

Ok it work when uninstall, then install eventmachine + adding libssl-dev ;) Sorry!

mattn commented 10 years ago

Hmm, I can't reproduce it. Could you please try this?

$ bundle exec ./bin/earthquake