kissrobber / xmpp4r_facebook

facebook chat(xmpp). X-FACEBOOK-PLATFORM SASL for ruby xmpp4r
31 stars 15 forks source link

Not able to send message via xmpp4r_facebook #6

Open muaaz-vf opened 11 years ago

muaaz-vf commented 11 years ago

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: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

'

Uko commented 11 years ago

:+1:

coorasse commented 9 years ago

:+1: