Open joslinm opened 8 years ago
@joslinm Did you manage to work through this? I would check the version of OpenSSL. Mine is OpenSSL 0.9.8zh 14 Jan 2016
.
openssl version -a
then
brew update
brew install openssl
brew link --force openssl
Mine is same exact version, so I don't think it's that
Can confirm, also had this issue.
Fixed mine. @joslinm what is your ruby version?
@mike-bailey Care to tell us how?
@dblock Updated Ruby from like 2.0 to 2.2 or something. Not at machine currently. This is why I asked what the ruby version was.
Sent from my iPhone
On Jul 12, 2016, at 8:24 AM, Daniel Doubrovkine (dB.) @dblockdotorg notifications@github.com<mailto:notifications@github.com> wrote:
@mike-baileyhttps://github.com/mike-bailey Care to tell us how?
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dblock/slack-ruby-bot/issues/80#issuecomment-232031596, or mute the threadhttps://github.com/notifications/unsubscribe/AHQTMXc0PHNpq4S1G9dFsVARerCvKPZ-ks5qU4eDgaJpZM4I3bPe.
Running Ruby 2.3.1 in rbenv, OpenSSL 0.9.8. Code runs fine while developed on a Mac, but I get the following "Actor crashed!" when running the same setup on a Debian box:
I, [2016-07-18T11:02:22.221848 #10249] INFO -- : post https://slack.com/api/rtm.start
D, [2016-07-18T11:02:22.221945 #10249] DEBUG -- request: Accept: "application/json; charset=utf-8"
User-Agent: "Slack Ruby Client/0.7.5"
Content-Type: "application/x-www-form-urlencoded"
I, [2016-07-18T11:02:22.820308 #10249] INFO -- Status: 200
D, [2016-07-18T11:02:22.820444 #10249] DEBUG -- response: content-type: "application/json; charset=utf-8"
transfer-encoding: "chunked"
connection: "close"
access-control-allow-origin: "*"
cache-control: "private, no-cache, no-store, must-revalidate"
content-security-policy: "referrer no-referrer;"
date: "Mon, 18 Jul 2016 09:02:22 GMT"
expires: "Mon, 26 Jul 1997 05:00:00 GMT"
pragma: "no-cache"
server: "Apache"
strict-transport-security: "max-age=31536000; includeSubDomains; preload"
vary: "Accept-Encoding"
x-accepted-oauth-scopes: "rtm:stream,client"
x-content-type-options: "nosniff"
x-oauth-scopes: "identify,read,post,client,apps"
x-slack-backend: "z"
x-slack-req-id: "eabda279-a54d-4456-81e4-dffcfd528072"
x-xss-protection: "0"
x-cache: "Miss from cloudfront"
via: "1.1 keyremoved.cloudfront.net (CloudFront)"
x-amz-cf-id: "keyremoved=="
D, [2016-07-18T11:02:22.838881 #10249] DEBUG -- Slack::RealTime::Concurrency::Celluloid::Socket#connect!: WebSocket::Driver::Client
E, [2016-07-18T11:02:23.269552 #10249] ERROR -- : Actor crashed!
ArgumentError: unknown SSL method `TLSv1_2_client'.
/home/username/.rbenv/versions/2.3.1/lib/ruby/2.3.0/openssl/ssl.rb:112:in `ssl_version='
/home/username/.rbenv/versions/2.3.1/lib/ruby/2.3.0/openssl/ssl.rb:112:in `initialize'
/home/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/slack-ruby-client-0.7.5/lib/slack/real_time/concurrency/celluloid.rb:97:in `new'