You are not logged in.

#1 2012-03-27 18:59:27

jamese
Member
Registered: 2012-03-27
Posts: 4

Ruby Python handshake timeout OpenSSL 1.0.1

My development and production server both run Arch Linux.  I have a small ecommerce site which uses Net::HTTP to a remote API to process credit cards.  For some reason I'm getting timeout errors.  I've tested the same API on a Mac OS X machine and there are no issues.  So the issue seems to be with my Ruby installation or Arch Linux?

I've tried both Ruby 1.9.2 and 1.9.3, with no change.  I seems to have happened at some point during a package update as the problem first started on my development machine (which I update sooner), and now with my production machine which I must've updated a week ago.

***WORKAROUND***

This looks to be the same issue as discussed in this thread:
https://bbs.archlinux.org/viewtopic.php?id=138103

Looks like this issue is a result of upgrading to OpenSSL 1.0.1.  This also affects other software.  I tested under Ruby and Python, and had the same problem connecting to: https://esqa.moneris.com

The following versions I had still do work:
openssl-1.0.0.f
openssl-1.0.0.g
openssl-1.0.0.h

openssl-1.0.1-1 (does not work - handshake timeout)

Last edited by jamese (2012-03-28 16:54:41)

Offline

#2 2012-03-27 19:00:31

jamese
Member
Registered: 2012-03-27
Posts: 4

Re: Ruby Python handshake timeout OpenSSL 1.0.1

I should also note, that Telnet does work, so it may only be a Ruby issue.  The weird thing is that it did work (with Ruby 1.9.2 and Ruby 1.9.3).

I also re-installed Ruby using RVM instead of the Arch package, and still the same problem... so I guess this isn't a package problem?

Perhaps this thread could be moved?

Last edited by jamese (2012-03-27 20:45:07)

Offline

#3 2012-03-28 15:29:43

jamese
Member
Registered: 2012-03-27
Posts: 4

Re: Ruby Python handshake timeout OpenSSL 1.0.1

Dowgrading from OpenSSL 1.0.1-1 to 1.0.0.h solved this very weird problem.

Also posted on the Ruby forum:
http://www.ruby-forum.com/topic/3944461#new

Offline

Board footer

Powered by FluxBB