39962

FB SDK and cURL: Unknown SSL protocol error in connection to graph.facebook.com:443

Using FaceBook SDK (fetched today) I am getting error

Fatal error: Uncaught CurlException: 35: Unknown SSL protocol error in connection to graph.facebook.com:443 thrown in /var/www/clients/client18/web29/web/classDBI/base_facebook.php on line 996

I have gone over a dozen related posts and implemented all recommended changes without success.

This post suggests it may clear up on it's own?

Current cURL opts are below and situation persists even if I take unadvised measure of adding

CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false,

Current opts

public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 60, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-3.2', CURLOPT_SSLVERSION => 3, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 );

Does anyone have an additional opt or test I can try?

Answer1:

As in the case of this post adding CURLOPT_SSLVERSION => 3 did not immediately resolve the issue today the SSL has been re-validated and accepted.

Recommend

  • Facebook PHP SDK not loading as a library in CodeIgniter
  • How to extend access token validity ?
  • Reading DOMDocument and find elements using CSS selectors
  • Avoiding dependencies is exploding the number of projects in my VS solution
  • Passing a Scala type to a function
  • Negating Regex PO BOX
  • Count from each distinct date, fill in missing dates with zero
  • Telegram bot API - Inline bot getting Error 400 while trying to answer inline query
  • read values from form post in jquery or javascript
  • Can you pass an array from javascript to asp.net mvc controller action without using a form?
  • how to populate a SQLite database and use that database in phonegap?
  • Request response issues in biztalk
  • HttpClient: disabling chunked encoding
  • Doctrine2 bulk import try to work with another entity
  • HttpURLConnection Closing IO Streams
  • PLSQL: Get number of records updated vs inserted when a merge statement is used
  • GAE: Way to get reference to an HttpSession from its ID?
  • How do I configure context broker accept post requests from my remote sensor?
  • saving file generated by TCPDF
  • Eloquent update method change created_at timestamp
  • Display images in Django
  • Chrome doesn't support silverlight anymore? How to solve this?
  • Get data from AJAX - How to
  • Reading JSON from a file using C++ REST SDK (Casablanca)
  • Using $this when not in object context
  • How do I fake an specific browser client when using Java's Net library?
  • How reduce the height of an mschart by breaking up the y-axis
  • Perl system calls when running as another user using sudo
  • How to limit post in wp_query
  • Upload files with Ajax and Jquery
  • Do I've to free mysql result after storing it?
  • Is there a mandatory requirement to switch app.yaml?
  • A cron job substitute?
  • json Serialization in asp
  • AngularJs get employee from factory
  • Free memory of cv::Mat loaded using FileStorage API
  • Memory offsets in inline assembly
  • Turn off referential integrity in Derby? is it possible?
  • UserPrincipal.Current returns apppool on IIS
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize