Unable to connect to ssl://twitter.com:443. Error:


#1

I run a social engine site, and now I get this error: Unable to connect to ssl://twitter.com:443. Error:

I already moved the url to: https://twitter.com/oauth/request_token

What does this error actually mean?


#2

Make sure you’re connecting to https://api.twitter.com/oauth/request_token (and this same pattern for all oauth operations)

I don’t know what programming environment you’re in, but “ssl://” is not a valid protocol that I know of.


#3

Then in libraries/PEAR/HTTP/OAuth/Consumer.php add

$this->consumerRequest->setConfig(array(
‘ssl_verify_peer’ => false,
‘ssl_verify_host’ => false
));

before the return statement in getOAuthConsumerRequest()


#4

Don’t do this. This is nearly the equivalent of not using SSL at all. You must verify peers. If you can’t get your code working in that state, you need to review your server and SSL configuration to resolve – not simply waive the whole verification process.


#5

Hi
i also get such error
Unable to connect to ssl://twitter.com:443. Error:

please tell me the solution for this.


#6

Make sure that your programming/server environment supports SSL. Make sure you’re using SSL for all operations with Twitter, such as https://api.twitter.com/oauth/request_token and https://api.twitter.com/1.1/statuses/user_timeline.json


#7

Same error… Na wa ooo!


#8