Open yannBytemark opened 14 years ago
I'm getting the same issue while running it in Rubinius 2.0-rc1 on Ubuntu.
Any advance?
Well. If you do a @jclient.allow_tls = false
before connecting you will probably skip this random problem.
It worked for me at least. :)
Check that you have the correct openSSL libs installed. Check 32 v.s. 64bit. It looks like openfire (for example) runs as 32bit and if the openssl.i686 package is not installed these symptoms (hang in ssl handshake) will occur. Though, it does eventually time out.
Under ruby-1.8.7, the following code works fine.
Under jruby-1.5.1, the above code hangs at the @client.connect, the problem is the call to sslsocket.connect which hangs. Anyone can see why this is?
Here are some extra data:
-- Note that this bug exists in Debian Squeeze as well.