Skip to content

Weird bug where Typhoeus fails every other request on https #90

@aselder

Description

@aselder

Using Ruby 1.9.2, running in irb

require 'typhoeus'
Typhoeus::Request.get("https://graph.facebook.com/me", :params => {"access_token"=>"139318386102524|83aab471a2..."})
Typhoeus::Request.get("https://graph.facebook.com/me", :params => {"access_token"=>"139318386102524|83aab471a2..."})

The first call to get returns a nice body with my facebook user info. The second call returns

#<Typhoeus::Response:0xd8154cc @code=0, @curl_return_code=60, @curl_error_message="problem with the SSL CA cert (path? access rights?)", @status_message=nil, @http_version=nil, @headers="", @body="", @time=0.148848, @requested_url="https://graph.facebook.com/me?access_token=139318386102524%7C83aab471a217ba2c4764c488.1-748858707%7CDtoWj0bVp-AQ5pOOBFGlJ_bkYKE", @requested_http_method=:get, @start_time=2011-05-24 16:29:45 -0700, @start_transfer_time=nil, @app_connect_time=nil, @pretransfer_time=nil, @connect_time=nil, @name_lookup_time=nil, @request=nil, @effective_url=nil, @mock=false> 

Then if I call it a 3rd time, the proper response is returned, 4th time: bad response, ad infinitum. Odd requests work, even don't.

Running on CentOS:
CentOS release 5.4 (Final)

curl.i386 7.15.5-2.1.el5_3.5 installed
openssl.i686 0.9.8e-12.el5_4.6 installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions