tumblr / tumblr.php

Tumblr API v2 PHP Client
Apache License 2.0
407 stars 115 forks source link

Authentication: cURL error #63

Closed oxidand closed 8 years ago

oxidand commented 8 years ago

I'm using https://github.com/tumblr/tumblr.php/wiki/Authentication as an example, but when I try to verify auth, by sending POST request to oauth/access_token I get only curl error: [curl] 56: SSLRead() return error -9806 [url] https://www.tumblr.com/oauth/access_token

oxidand commented 8 years ago

it only happens on my localhost, with PHP-builtin server. When I uploaded the project to server, it worked as it should be. What can be a problem on localhost?

vitor-mariano commented 8 years ago

Do you use OS X Yosemite or El Capitan? I had a similar problem with SSL, I don't know why. I recommend to develop PHP projects using Vagrant Homestead. It's very practical.

oxidand commented 8 years ago

yes, I use El Capitan. But I work with cURL every day, and so far the only problem is with this SDK. But okay, it's not critical anymore