Hi, we developed an application that was hosted in a server that had
problems so we changed to dreamhost (the server we usually use and
where we had tested the application without problems).
In the new dreamhost account we installed the application but it is no
possible to authenticate, the curl returns http_code = 0...
I checked the code but I can't find the problem, here is the dump:
TwitterOAuth Object
(
[http_code] => 0
[url] =>
https://api.twitter.com/oauth/request_token?oauth_ca...
[host] =>
https://api.twitter.com/1/
[timeout] => 30
[connecttimeout] => 30
[ssl_verifypeer] =>
[format] => json
[decode_json] => 1
[http_info] => Array
(
[url] =>
https://api.twitter.com/oauth/request_token?oauth_cal...
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 2.4E-5
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
)
[useragent] => TwitterOAuth v0.2.0-beta2
[sha1_method] => OAuthSignatureMethod_HMAC_SHA1 Object
(
)
[consumer] => OAuthConsumer Object
(
[key] => ...
[secret] => ...
[callback_url] =>
)
[token] => OAuthConsumer Object
(
[key] =>
[secret] =>
[callback_url] =>
)
)
Thanks