Open lukaszkorecki opened 12 years ago
I've had no luck on 1.9.3. I'm running earthquake on 1.9.2 with a rvm wrapper:
rvm wrapper ruby-1.9.2@earthquake twitter earthquake
I'm getting the same error on Debian with ruby 1.9.2 (I've updated the main as well). On OSX it works just fine.
Just FYI, I'm using Debian GNU/Linux unstable (x86_64), and with ruby-trunk (updating per few days), 1.9.3p125, 1.9.2p290. Everything works good for me at least with the followings:
This occured in (too ?) old environment. Hope this helps.
⚡ earthquake: reconnecting in: 10 seconds
terminate called after throwing an instance of 'std::runtime_error'
what(): call SetTlsParms before calling StartTls
Aborted
$ ruby1.9.1 -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i486-linux]
I have same problem. Here is my environments. https://gist.github.com/2437661
I found the source of this problem. If version of libssl is 1.0.*, earthquake (EventMachine) can't access to server using https. Then, the error occurred because it try to reconnect immediately. Notification for reconnecting are shown.
I could fix this error by install openssl via rvm and re-install ruby, as shown in README. https://gist.github.com/2576093 This is what I did.
It looks like an EventMachine/SSL problem, somewhat related to this issue.
So I made a little change to ext.rb:
(before that earthquake would just crash with the same error as in the mentioned EM issue)
...and now I get this:
OS: Debian Squeeze Ruby 1.9.3 and 1.9.2 Earthquake version 0.8.5 and up