Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1367332
    MattHoll
    Participant

    I can’t get expanded demos to load.

    Wordpress 4.7.2.

    The site has an under construction plugin so it’s hidden, but it’s http://www.hrvatskohomebrewprvenstvo.beer/.

    Cleared the cache.

    Other demos load, but expanded ones won’t. It looks like it’s having a problem with connecting. Dunno.

    Help?

    #1367646
    Christopher
    Moderator

    Hi there,

    Please provide us with URL and login credentials. Let us know which demo content you want to import and confirm if we have permission to try to set it up for you.

    Thanks.

    #1367748
    MattHoll
    Participant
    This reply has been marked as private.
    #1367783
    Christopher
    Moderator

    Hi there,

    I see following error on your site :

    debug_message:"cURL error 28: connect() timed out!"

    Using the error message above, you can contact your webhost. Here is a form letter you may use:

    Hello [provider],
    
    My WordPress installation is having a hard time making outbound HTTP requests. I’m using X theme and it makes a request to community.theme.co for setting up automatic updates. Here is the error message I’m receiving:
    
    [screenshot, or copy/paste the verbose error message (see above regarding the &x-verbose flag)]
    
    Could you please do the following?
    
    – Ensure my site can reach this domain: community.theme.co
    – Ensure cURL is working, and allow_url_fopen is enabled.
    – Ensure PHP is configured with the latest CA Root Certificates.
    – Check into the error message above.
    
    Please advise on anything you discover. Thank you.

    Hope it helps.

    #1367810
    MattHoll
    Participant
    This reply has been marked as private.
    #1368081
    Rad
    Moderator

    Hi there,

    It may be configured and installed, but cURL is compiled with only 10 seconds timeout and that’s the issue. Would you mind providing your FTP login credentials as well? Maybe I could override it directly to core’s code, but it shouldn’t be done that way. But if your host isn’t able to override that, then it’s out last option.

    Thanks!

    #1368107
    MattHoll
    Participant
    This reply has been marked as private.
    #1368412
    Rad
    Moderator

    Hi there,

    Still no luck, the problem is really within hosting environment.

    X theme uses wp_remote_get() ( https://codex.wordpress.org/Function_Reference/wp_remote_get ) to download updates and demos from our server. You’ll see a timeout option which is default to 5 seconds, it can be changed so hosting’s timeout could be overridden.

    Example :

    $request = wp_remote_get( $_POST['demo'], array( 'timeout' => 300 ) ); //300seconds = 5mins

    It’s a WordPress function, and it fails, then I went ahead and directly edit the code to force the 5mins timeout but it still failed. I can’t say it’s because of the theme since what I did is direct core editing.

    And are they sure they set it to 5 mins, because this is the new error log

    Object {message: "We're sorry, the demo failed to finish importing.", debug_message: "cURL error 28: Connection timed out after 15000 milliseconds", debug: null}

    It’s changed from 10seconds to 15seconds.

    Thanks

    #1368747
    MattHoll
    Participant
    This reply has been marked as private.
    #1369012
    Jack
    Keymaster

    Hi Matt,

    I can confirm there are no bugs within the theme itself with regards to the demo install. I’ve personally double checked everything and we have hundreds of users per day installing the expanded demo content.

    I’d like to take a closer look if possible, can you send me your FTP and/or cPanel details in a private reply. I can then add some debug code and try and find out more why this is happening for you.

    Thanks!

    #1369019
    MattHoll
    Participant
    This reply has been marked as private.
    #1370065
    Paul R
    Moderator

    Hi Matt,

    Upon checking, I can still see the error in the console.

    https://www.screencast.com/t/OURr8Anc0e2

    Kindly contact your host again and make sure it is not blocking amazon s3

    http://themeco-demo-content.s3.amazonaws.com

    Hope that helps.

    #1371526
    MattHoll
    Participant
    This reply has been marked as private.
    #1372234
    Jack
    Keymaster

    Hi Matt,

    I’ve checked our end and can confirm that the IP in question isn’t blocked. We aren’t blocking any IP’s in the 173 range or the 50 range. Can you double check with your host that no other IP’s are being used by them to connect?

    Thanks!

    #1373276
    MattHoll
    Participant

    This issue is resolved. Thanks SO much for all of your patience and help.

    From the hosting guys tech support:

    >>>>>>>>>>>

    I would like to inform you that our administrators checked firewall rules and found that access to 50.31.66.102 IP was blocked from our side. They removed the block.

    <<<<<<<<<<<<<

  • <script> jQuery(function($){ $("#no-reply-1367332 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>