client.auth_sasl(Jabber::SASL::XFacebookPlatform.new(client,fb_api_key, fb_token , fb_secret), nil)
IOError: closed stream
from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:318:in syswrite' from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:318:indo_write'
from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:383:in <<' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:346:inblock in send_data'
from internal:prelude:10:in synchronize' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:344:insend_data'
from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:378:in send' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r_facebook-0.1.1/lib/xmpp4r_facebook.rb:11:ininitialize'
from (irb):16:in new' from (irb):16 from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands/console.rb:47:instart'
from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands/console.rb:8:in start' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands.rb:41:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in'
Hello, I am struggling with this error for days now and can not find any solution any help will be appreciated issue as follows:-
1.9.3p448 :014 > client => #<Jabber::Client:0xb3c052c @fd=#<OpenSSL::SSL::SSLSocket:0xb155634 ..... 1.9.3p448 :015 > client.status => 1
client.auth_sasl(Jabber::SASL::XFacebookPlatform.new(client,fb_api_key, fb_token , fb_secret), nil) IOError: closed stream from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:318:in'
syswrite' from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:318:in
do_write' from /home/ali/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/openssl/buffering.rb:383:in<<' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:346:in
block in send_data' from internal:prelude:10:insynchronize' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:344:in
send_data' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:378:insend' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/xmpp4r_facebook-0.1.1/lib/xmpp4r_facebook.rb:11:in
initialize' from (irb):16:innew' from (irb):16 from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands/console.rb:47:in
start' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands/console.rb:8:instart' from /home/ali/.rvm/gems/ruby-1.9.3-p448@zapling/gems/railties-3.2.13/lib/rails/commands.rb:41:in
<top (required)>' from script/rails:6:inrequire' from script/rails:6:in