Problems with jruby and I think with TLS

60 views
Skip to first unread message

Diego Alvarez Zuluaga

unread,
Mar 18, 2013, 8:50:27 PM3/18/13
to xmpp-b...@googlegroups.com
Hi

I'm trying to use blather in jruby 1.7.3

setup 'username', 'password', 'talk.google.com', 5222


When I trying a connection to google there is a delay in 
DEBUG -- : RECEIVING (proceed) <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
and then i got disconnected

this is the log, it loops with the following messages:

Reconnectting...
D, [2013-03-18T19:33:12.000000 #10568] DEBUG -- : USING JID: xxxx
D, [2013-03-18T19:33:12.103000 #10568] DEBUG -- : SENDING: (/Users/xxx/.rbenv/versions/jruby-1.7.3/lib/ruby/gems/shared/gems/blather-0.8.3/lib/blather/stream/client.rb:12:in `start') <stream:stream to='xxx.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
D, [2013-03-18T19:33:12.211000 #10568] DEBUG -- : RECEIVING (stream) <stream:stream from="xxx.com" id="CF27452EA7A8E81F" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"/>
D, [2013-03-18T19:33:12.219000 #10568] DEBUG -- : RECEIVING (features) <stream:features xmlns:stream="http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
D, [2013-03-18T19:33:12.223000 #10568] DEBUG -- : SENDING: (/Users/xxx/.rbenv/versions/jruby-1.7.3/lib/ruby/gems/shared/gems/blather-0.8.3/lib/blather/stream/features/tls.rb:16:in `receive_data') <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
D, [2013-03-18T19:33:12.331000 #10568] DEBUG -- : RECEIVING (proceed) <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
Disconnected :(

Reconnectting...
...
Disconnected :(
...


Tks for your help

Diego Alvarez Zuluaga

unread,
Mar 18, 2013, 10:39:05 PM3/18/13
to xmpp-b...@googlegroups.com
Same code works in ruby 1.9.3-p392

But I want to work in jruby :/

Ben Langfeld

unread,
Mar 19, 2013, 9:15:55 AM3/19/13
to xmpp-b...@googlegroups.com
Could you please file an issue here: https://github.com/adhearsion/blather/issues

That's a better place to track things.

Regards,
Ben Langfeld


--
You received this message because you are subscribed to the Google Groups "Blather" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xmpp-blather...@googlegroups.com.
To post to this group, send email to xmpp-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/xmpp-blather?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages