I’m trying to do a basic get or post operation using Net::HTTP in SSL
mode.
I’m on TextDrive, which runs ruby 1.8.2; however, I have the /net folder
from ruby 1.8.4 in my /lib to support net/https, which doesn’t appear to
be
present in 1.8.2.
When I try to run this code, it craps out at the http.start. I’ve tried
several iterations and examples; either OpenSSL fails, or 1.8.2 doesn’t
support use_ssl and there is no net/https.rb in 1.8.2.
Possible solutions:
What can I do to make this work on TextDrive?
What other possible options to I have to make this https request and
fetch the results. At this point, I’m not above ugly hacks - I’m on a
deadline, and this is killing me.
Am Donnerstag, den 06.04.2006, 03:33 -0400 schrieb Pete F.:
http.request_get(“/scripts/process_transaction?” + @data) {|res|
2. What other possible options to I have to make this https request and
fetch the results. At this point, I’m not above ugly hacks - I’m on a
deadline, and this is killing me.
I had the same problem some time ago (not on TextDrive) and remember
that this was a version problem. I can’t remember if downgrading the
openssl lib or the openssl-ruby bindings helped. Openssl 0.9.7g did not
have this failure.