• destrike

    (@destrike)


    Hi, I seem to have an odd problem with the plugin.

    On random occasions I receive this error:
    The following error(s) occurred: http_request_failed
    peer certificate cannot be authenticated with known CA certificates

    Appears both in preview and on its actual page. I’ve tried stepping back to older versions of the plugin and I’m getting a similar response, but instead of the error I’m left with a white screen.

    I’m useless at php mostly, but perhaps a loop to retry the calender fetch request until it succeeds would work? The error only occurs somewhere between 30-40% of refreshes on average.. but as I said, I’d have no idea on how to code this off the top of my head.

    Following another thread, I changed line 47 of the wrapper to echo errors instead of die, and I observed the similar issues as the original poster of that thread with the addition of “Array” and no improvement to the issue.

    My Calendar embed code is as follows:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    https://www.ads-software.com/extend/plugins/stout-google-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • roo2man

    (@roo2man)

    Yes, I’m having the same problem. My Stout Google Calendar randomly appears/disappears when the page is refreshed. The error reads:

    The following error(s) occurred:
    http_request_failed
    Operation timed out after 5000
    milliseconds with 0 bytes received

    Maybe a fix that increases timeout period would help, but I’m not sure how to accomplish this.

    Does anyone have any ideas, suggestions?

    Thanks.

    Plugin Author stoutdesign

    (@stoutdesign)

    The issue with the CA certificate is likely a result of the WP_Http class trying to verify the ssl connection for the request. Please see this post for a possible temporary fix

    https://www.ads-software.com/support/topic/plugin-stout-google-calendar-ssl-certificate-problem?replies=18#post-1992458

    I had similar problem with http error requests timed out after 5 seconds.

    The answer, I found was quite simple. Do not use the plugin. Just paste the code into the WordPress page you want to use. One less plug-in, less code more speed!

    Used google multiple calendar helper to combine four calendars into one.
    https://www.palacemag.co.uk/events.

    Its so easy to customise calendars in the google calendar page there seems little use for this plug in.

    Sorry

    Chris, what exactly did you do to customize the calendar? I haven’t found much on google’s calendar page to customize anything except a silly color or two that hardly changes *anything*.

    I looked at your site and it’s the basic Google calendar, in all it’s ugly blue and unreadable text glory (no offense, it just doesn’t match your otherwise nice design). I’m not defending this plugin, I just cannot stand the UI from Google–I”m a designer and would swallow glass before putting this crap on my site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Stout Google Calendar] Sporadic 'http_request_failed' issue’ is closed to new replies.