Tagged: x
-
AuthorPosts
-
February 11, 2017 at 5:52 pm #1367332
MattHollParticipantI 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?
February 12, 2017 at 2:30 am #1367646
ChristopherModeratorHi 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.
February 12, 2017 at 5:36 am #1367748
MattHollParticipantThis reply has been marked as private.February 12, 2017 at 6:24 am #1367783
ChristopherModeratorHi 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.
February 12, 2017 at 7:07 am #1367810
MattHollParticipantThis reply has been marked as private.February 12, 2017 at 2:14 pm #1368081
RadModeratorHi 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!
February 12, 2017 at 3:17 pm #1368107
MattHollParticipantThis reply has been marked as private.February 12, 2017 at 10:09 pm #1368412
RadModeratorHi 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 = 5minsIt’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
February 13, 2017 at 5:36 am #1368747
MattHollParticipantThis reply has been marked as private.February 13, 2017 at 9:18 am #1369012
JackKeymasterHi 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!
February 13, 2017 at 9:23 am #1369019
MattHollParticipantThis reply has been marked as private.February 14, 2017 at 12:45 am #1370065
Paul RModeratorHi 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.
February 15, 2017 at 2:06 am #1371526
MattHollParticipantThis reply has been marked as private.February 15, 2017 at 11:38 am #1372234
JackKeymasterHi 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!
February 16, 2017 at 3:24 am #1373276
MattHollParticipantThis 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.
<<<<<<<<<<<<<
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1367332 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
