Support » Plugin: Google Calendar List View » Connection timed out

  • Resolved Bannix



    for some reason I get the following warning from gclv, which seems to indicate that the connection to google is broken (the links have been shortened by me):

    Warning: file_get_contents(https://……): failed to open stream: Connection timed out in …/wp-content/plugins/list-view-google-calendar/list-view-google-calendar.php on line 566

    The problem is that the site takes forever to load, as it waits a very long time to get a response before it finally times out.

    Is it possible to make this file_get_contents request non-blocking, such that the rest of the site loads?
    Or maybe this warning is a symptom of something else being broken?

    gclv version 6.9.2
    Wordpress 6.1


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kimipooh


    Thank you for being so interested in my plugin.

    I do not know about the link-shortening problem, but you are correct about the timeout problem with file_get_contents, so we have changed it to a curl-based method (version 7.0.0).

    I believe upgrading to version 7.0.0 will solve the problem of too-long timeouts.

    Thread Starter Bannix


    Thanks! That was fast.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.