This topic has 6 replies, 3 voices, and was last updated 7 months, 2 weeks ago ago by Andrew Mitchell
Good day,
I have recently encountered a new error message when I log into WordPress related to Xstore. I have already contacted our hosting service and they are not finding anything related to it in their logs. The error is as follows:
We are unable to connect to the XStore API with the XStore theme. Please check your SSL certificate or white lists.
cURL error 28: Operation timed out after 2000 milliseconds with 32476 bytes received
I am attaching a screenshot below. This is the first we have had this error and have been using Xstore for a while before this as well.
Please advise.
Hello, Pronto Pasta,
Thank you for reaching out to us.
https://prnt.sc/olctodoWrgy_ – We recommend that you contact your hosting provider for further assistance. They are best equipped to help you resolve any issues you may be experiencing.
For further reading and a more comprehensive understanding of the error, you may find the following resources helpful:
– https://kinsta.com/knowledgebase/curl-error-28/
– https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/
Best Regards,
8Theme’s Team
Good day, as in my previous message I have already contacted my hosting provider and they find no issues on their side. Please help me in regard to this.
Hello, Pronto Pasta,
We hope this message finds you well. It appears that the issue you are experiencing is due to the significant distance between the servers. To address this, we have implemented additional code in the functions.php file of the child theme.
function increase_http_request_timeout( $r, $url ) {
$r['timeout'] = 20; // Increase timeout to 20 seconds
return $r;
}
add_filter( 'http_request_args', 'increase_http_request_timeout', 10, 2 );
This modification should rectify the error you encountered. Should you have any further questions or require additional assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
You guys are absolutely amazing, thank you so very much! All is resolved and working
Dear Pronto Pasta,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘New error on WordPress Site after logging in’' has been successfully resolved, and the topic is now closed for further responses