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


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?


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.


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

‘ssl_verify_peer’ => false,
‘ssl_verify_host’ => false

before the return statement in getOAuthConsumerRequest()


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.


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

please tell me the solution for this.


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


Same error… Na wa ooo!