Topic-icon AutoTune Error

Active Subscriptions:

None
11 years 9 months ago #46507 by [email protected]
Facebook API Error: SSL connect error
Facebook Application configuration could not be loaded. Please check your App ID and Secret Key

The app ID and secret key are 100% correct. Any other thoughts?
The topic has been locked.
Support Specialist
11 years 9 months ago #46515 by alzander
Replied by alzander on topic AutoTune Error
Please try going to the JFBConnect -> Configuration -> Facebook tab and setting the "Disable SSL Verification" to 'Yes'. Then try again. If that helps, it means there's an issue with your server validating Facebook's SSL certificate, but things should work with that setting enabled.

I hope that helps, but if you need anything else, please let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #46922 by [email protected]
Replied by [email protected] on topic AutoTune Error
Unfortunately, this did not solve the problem. Any other suggestions?
The topic has been locked.
Support Specialist
11 years 9 months ago #46938 by alzander
Replied by alzander on topic AutoTune Error
Ahh.. I re-read your post above and realized you were using the Facebook Application section of Autotune.

If you're seeing that error, please navigate to the JFBConnect -> Configuration -> Facebook tab and set the "Disable SSL Certificate Verification" setting to 'Yes'. That should prevent the issue you're having when communicating with Facebook's servers.

Again, if that doesn't help, please let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #46943 by [email protected]
Replied by [email protected] on topic AutoTune Error
Hi Alex,

That is what I've already done. It had no effect, unfortunately.
The topic has been locked.
Support Specialist
11 years 9 months ago #46991 by alzander
Replied by alzander on topic AutoTune Error
I'm not sure then. It could be a server configuration issue with not being able to make an outgoing connection over SSL or one of various other very uncommon causes.

If you can, please Private Message me super admin credentials for your site and we'll look at your configuration a little closer to try and narrow things down. I'm not sure we'll be able to fix them for you, but can hopefully give you the information you need to approach your hosting company to get something resolved.

To PM me, click the mail icon under my name to the left.

Thanks,
Alex
The topic has been locked.
Support Specialist
11 years 8 months ago #47073 by alzander
Replied by alzander on topic AutoTune Error
I received your admin credentials and just looked through the admin area. The issue is something 'lower level' than Joomla itself and is caused by some sort of communications problem with Facebook. Everything in your JFBConnect configuration and what I can see int he Site -> System Information area is correct. Your server appears to have the right tools to make outgoing connections to Facebook using a secure (SSL) connection. However, something it obviously going wrong.

Unfortunately, there's not much of a way for us to diagnose the error further than the "SSL Connect Error". That message means that something from your server, to your hosting company, to Facebook itself, is having an issue.

My only suggestion from here is to contact your hosting provider and let them know that your server is trying to make an outgoing connection to graph.facebook.com/ . When performed using cURL to make the request, there is an error of "SSL Connect Error".

Hopefully they can help diagnose what is causing the communications issue further.

I hope that helps, but please let us know what you find or if there's anything else we can help with.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #47084 by [email protected]
Replied by [email protected] on topic AutoTune Error
This is a physical server in our physical data center, its not with a hosting company. I can do a standard cURL SSL connect from the CLI of the server. *shrug*
The topic has been locked.
Support Specialist
11 years 8 months ago #47085 by alzander
Replied by alzander on topic AutoTune Error
If you have that level of control over the server, great! Running curl from the command line only tells so much since it's not going through PHP. Can you create a file on your server (curl_test.php) and add this code to it:
<?php
$opts = array(
        CURLOPT_CONNECTTIMEOUT => 10,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_TIMEOUT => 60,
        CURLOPT_USERAGENT => 'facebook-php-3.2',
);

$appId = 'blah';
$secret = 'test';
$params = array();
$params['access_token'] = $appId . '|' . $secret;
$params['method'] = "POST";

$url = 'https://graph.facebook.com/1485968504982945';
$opts[CURLOPT_URL] = $url;
$opts[CURLOPT_SSL_VERIFYPEER] = false;
$opts[CURLOPT_POSTFIELDS] = http_build_query($params, null, '&');
$opts[CURLOPT_HTTPHEADER] = array('Expect:');

$ch = curl_init();
curl_setopt_array($ch, $opts);
$result = curl_exec($ch);

$errno = curl_errno($ch);
echo "Error Number: " . $errno . "\n";
echo "Results: ";
print_r($result);
Then, run that with:
php curl_test.php
That should use the same PHP that's running Apache. Once run, you should get output like:
Error Number: 0
Results: {"error":{"message":"Invalid OAuth access token signature.","type":"OAuthException","code":190}}
The error in the results is expected because the $appId and $secret are bogus values. It does test that communication is being made.

Please test that and let me know your result.

Thanks,
Alex
The topic has been locked.