• Resolved grandadmiral12345

    (@grandadmiral12345)


    I’ve created a recipe to perform three actions.

    • Create a tweet on Twitter (yes, I still call it that)
    • Create a post with image on a Facebook Page
    • Create a post with image to a Facebook group

    The recipe doesn’t complete the run due to the dreaded cURL error 28 message. Every error falls on the Facebook group posting action. But what’s weird is that if I go to the Group’s page, the post is actually there. It just doesn’t have the image assigned to it (I use the featured image URL). The other actions complete with no problems.

    Any idea what could cause this to error out while still making the post (with the image missing) to the Facebook group as the action is set to do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @grandadmiral12345 ,

    It appears that, while the request was dispatched to Facebook groups for processing, the server terminated the connection and proceeded with an error. A cURL 28 error usually indicates that the server reached the connection time limit before Facebook was able to send a response back.

    This can be solved by increasing the connection timeout limit.

    Try pasting the following snippet into your child theme theme’s functions.php file to increase the connection timeout limit:

    add_filter(
        'automator_integration_facebook_groups_api_request_timeout',
        function( $params ) {
            $params['timeout'] = 30; // <<< Adjust the timeout to suit your needs
            return $params;
        }
    );

    Another possibility could be an invalid SSL certificate. Make sure that the SSL certificate for your site is definitely valid and doesn’t show an errors in a browser.

    There are other resources online with suggestions for resolving a cURL 28 error, but the 2 issues above are the most common that we see for Automator recipes.

    Let us know how you make out with the suggestions above.

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    Adding the snippet didn’t help. Still getting the same error. Checking on the SSL option. Still weird it works on Facebook pages, but not groups.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Okay, do check the SSL certificate next, but after that it would help to also get information about the site (via Automator > Status). Ideally this would include the site URL so that we can also check, but that information may be something you prefer to send on our website instead.

    Can you confirm that the timeout adjustment snippet was added to the functions.php file, or did you use a code snippets plugin or even something else?

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    Yes. I added it directly to the functions.php file.

    SSL check is reporting no errors.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Okay, in that case, the status report details that I mentioned would really help.

    It’s probably also worth reaching out to your host, as they have an easier time confirming what could be causing the cURL 28 error. Here’s an article tool that has something other things you can explore: https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    How should I submit the status report?

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Sorry for the late reply. For the status report you could use support @ automatorplugin . com (with spaces removed) or submit the details via any form on our site.

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    Will do

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘cURL error when posting to Facebook Groups page’ is closed to new replies.