{"id":190,"date":"2023-08-23T21:38:04","date_gmt":"2023-08-23T20:38:04","guid":{"rendered":"https:\/\/harmonweb.com\/blog\/?p=190"},"modified":"2023-08-23T21:38:05","modified_gmt":"2023-08-23T20:38:05","slug":"how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds","status":"publish","type":"post","link":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/","title":{"rendered":"How to fix cURL error 28: Connection timed out after X milliseconds"},"content":{"rendered":"\n<p>Are you seeing the cURL error 28: Connection timed out error on your WordPress site?<\/p>\n\n\n\n<p>The cURL error 28 is a common WordPress REST API issue that can affect your website\u2019s performance and may cause it to behave unpredictably.<\/p>\n\n\n\n<p>In this article, we will show you how to easily fix the \u2018cURL error 28: Connection timed out\u2019 issue on your WordPress website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds-1024x576.png\" alt=\"How to fix cURL error 28: Connection timed out after X milliseconds\" class=\"wp-image-4663\" srcset=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds-1024x576.png 1024w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds-300x169.png 300w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds-768x432.png 768w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">How to fix cURL error 28: Connection timed out after X milliseconds<\/figcaption><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e811d318747\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e811d318747\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#What_is_cURL_in_WordPress\" >What is cURL in WordPress?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#What_Causes_cURL_error_28_in_WordPress\" >What Causes cURL error 28 in WordPress?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#1_Temporarily_Disable_WordPress_Firewall\" >1. Temporarily Disable WordPress Firewall<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#2_Deactivate_All_WordPress_Plugins\" >2. Deactivate All WordPress Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#3_Ensure_Your_Hosting_Server_is_Using_the_Latest_Software\" >3. Ensure Your Hosting Server is Using the Latest Software<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#4_Fix_SSL_Insecure_Content_Issues\" >4. Fix SSL Insecure Content Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#5_Seek_Help_from_Hosting_Provider\" >5. Seek Help from Hosting Provider<\/a><\/li><\/ul><\/nav><\/div>\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_cURL_in_WordPress\"><\/span>What is cURL in WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>The cURL is a software utility used by WordPress and many other web applications to send and receive data requests using URLs.<\/p>\n\n\n\n<p>WordPress uses cURL to handle several API requests. It is available as an extension of the&nbsp;PHP&nbsp;programming language, and your&nbsp;WordPress hosting&nbsp;company takes care of that.<\/p>\n\n\n\n<p>The cURL library plays a crucial role in&nbsp;how WordPress works&nbsp;behind the scenes. If it is not configured properly, then your WordPress website will not function properly.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Causes_cURL_error_28_in_WordPress\"><\/span>What Causes cURL error 28 in WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Failure to respond back to the server\u2019s data requests in a timely manner causes cURL error 28 in WordPress.<\/p>\n\n\n\n<p>WordPress uses REST API (a programming technique) to send and receive data requests. If these requests time out, then you\u2019ll see it as a critical issue in the&nbsp;Site Health&nbsp;report with the title \u2018The REST API encountered in error\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn3.wpbeginner.com\/wp-content\/uploads\/2020\/12\/curlerror28-preview.png\" alt=\"cURL error 28 shown in WordPress site health report\" class=\"wp-image-88536\" title=\"cURL error 28 shown in WordPress site health report\"\/><\/figure>\n\n\n\n<p>Expanding the error will show you further details including the error message:<\/p>\n\n\n\n<p><code>Error: cURL error 28: Operation timed out after x milliseconds with x bytes received (http_request_failed)<\/code><\/p>\n\n\n\n<p>You may also see another related issue with the title \u2018Your site could not complete a loopback request\u2019. It will have a similar error message with the following description.<\/p>\n\n\n\n<p><em>\u2018The loopback request to your site failed, this means features relying on them are not currently working as expected.\u2019<\/em><\/p>\n\n\n\n<p><strong>What may cause cURL to timeout?<\/strong><\/p>\n\n\n\n<p>A number of scenarios may cause the cURL to time out in WordPress.<\/p>\n\n\n\n<p>For instance, a&nbsp;WordPress firewall plugin&nbsp;may block a REST API request considering it to be a suspicious activity.<\/p>\n\n\n\n<p>If your DNS server is not working correctly, then this may also fail HTTP requests and cause the cURL timeout error in WordPress.<\/p>\n\n\n\n<p>A poorly configured WordPress hosting server may simply have a very low timeout threshold which may stop certain WordPress processes to run properly.<\/p>\n\n\n\n<p>That being said, let\u2019s take a look at how to troubleshoot and fix the \u2018curl error 28: Connection timed out\u2019 issue in WordPress.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Temporarily_Disable_WordPress_Firewall\"><\/span>1. Temporarily Disable WordPress Firewall<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>If you are using a WordPress firewall or a&nbsp;<a href=\"https:\/\/www.wpbeginner.com\/plugins\/best-wordpress-security-plugins-compared\/\">security plugin<\/a>, then go ahead and temporarily deactivate it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.wpbeginner.com\/wp-content\/uploads\/2020\/12\/deactivatefirewall.png\" alt=\"Deactivate WordPress firewall plugin\" class=\"wp-image-88565\" title=\"Deactivate WordPress firewall plugin\"\/><\/figure>\n\n\n\n<p>After that, you need to visit the WordPress site health report page to see if your issue has resolved.<\/p>\n\n\n\n<p>If it has, then you need to check your WordPress firewall logs to see which API requests have been blocked.<\/p>\n\n\n\n<p>This would either identify the source of the issue or you can adjust firewall settings to not block legitimate API requests.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Deactivate_All_WordPress_Plugins\"><\/span>2. Deactivate All WordPress Plugins<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>WordPress plugins make their own API requests to send and receive data. If these calls are too frequent or take too long to complete, then this may cause the cURL error in your site health report.<\/p>\n\n\n\n<p>The easiest way to figure this out is by deactivating all WordPress plugins. Simply go to the&nbsp;<strong>Plugins \u00bb Installed Plugins<\/strong>&nbsp;page and select all plugins.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2020\/12\/deactivateallplugins.png\" alt=\"Deactivate all WordPress plugins\" class=\"wp-image-88566\" title=\"Deactivate all WordPress plugins\"\/><\/figure>\n\n\n\n<p>After that, click on the Bulk Actions drop down to select \u2018Deactivate\u2019 and then click on the \u2018Apply\u2019 button.<\/p>\n\n\n\n<p>You can now visit the Site Health report to see if the issue has disappeared. If this resolved the issue, then you can start activating your plugins one by one until the issue reappears.<\/p>\n\n\n\n<p>This will help you find the plugin that may be causing the issue and you can then ask the plugin author for support.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Ensure_Your_Hosting_Server_is_Using_the_Latest_Software\"><\/span>3. Ensure Your Hosting Server is Using the Latest Software<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>The next, step is to make sure that your WordPress hosting server is using the latest versions of PHP, cURL library, and OpenSSL.<\/p>\n\n\n\n<p>You can check that by looking at the system information tab under&nbsp;<strong>Tools \u00bb Site Health<\/strong>&nbsp;page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2020\/12\/sitehealth-sysinformation.png\" alt=\"System information report under site health\" class=\"wp-image-88567\" title=\"System information report under site health\"\/><\/figure>\n\n\n\n<p>Simply switch to the \u2018Info\u2019 tab and expand the \u2018Server\u2019 section. From here you can get the information about software installed on your WordPress hosting server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn3.wpbeginner.com\/wp-content\/uploads\/2020\/12\/getversioninfo.png\" alt=\"Check PHP, cURL, and OpenSSL versions\" class=\"wp-image-88568\" title=\"Check PHP, cURL, and OpenSSL versions\"\/><\/figure>\n\n\n\n<p>Ideally, your server should be using PHP 7.4.13 or higher, curl 7.74.0 or higher, and OpenSSL 1.1.1 or higher.<\/p>\n\n\n\n<p>If it doesn\u2019t, then you need to contact your WordPress hosting company and request them to update the software for your hosting account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Fix_SSL_Insecure_Content_Issues\"><\/span>4. Fix SSL Insecure Content Issues<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>If your WordPress site is&nbsp;using HTTPS \/ SSL, but it is not configured properly, then this could also lead your web server to block insecure cURL requests.<\/p>\n\n\n\n<p>Similarly, if your WordPress site doesn\u2019t use HTTPS \/ SSL, but it made an API call using an HTTPs URL, then those requests will fail too, and you may see the following cURL error instead:<\/p>\n\n\n\n<p><em>\u2018Error: cURL error 7: Failed to connect to localhost port 443: Connection refused (http_request_failed)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2020\/12\/curlerror7.png\" alt=\"cURL error 7 in WordPress\" class=\"wp-image-88570\" title=\"cURL error 7 in WordPress\"\/><\/figure>\n\n\n\n<p>To fix this, you can ask your hosting provider to re-install SSL certificate for your website. If the issue persists, then follow our guide on&nbsp;how to fix common SSL issues&nbsp;to properly set up SSL on your WordPress website.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Seek_Help_from_Hosting_Provider\"><\/span>5. Seek Help from Hosting Provider<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>If the above steps fail to resolve the cURL error 28 on your WordPress site, then the problem is most likely a hosting environment issue.<\/p>\n\n\n\n<p><em><strong>Credit: WPBeginner<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you seeing the cURL error 28: Connection timed out error on your WordPress site? The cURL error&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4663,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[158],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog\" \/>\n<meta property=\"og:description\" content=\"Are you seeing the cURL error 28: Connection timed out error on your WordPress site? The cURL error&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/\" \/>\n<meta property=\"og:site_name\" content=\"HarmonWeb Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-23T20:38:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-23T20:38:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/02\/curlerror28-preview.png?v=1612687338\" \/>\n\t<meta property=\"og:image:width\" content=\"550\" \/>\n\t<meta property=\"og:image:height\" content=\"326\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Adegoke\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Adegoke\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/\"},\"author\":{\"name\":\"John Adegoke\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\"},\"headline\":\"How to fix cURL error 28: Connection timed out after X milliseconds\",\"datePublished\":\"2023-08-23T20:38:04+00:00\",\"dateModified\":\"2023-08-23T20:38:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/\"},\"wordCount\":905,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png\",\"articleSection\":[\"Troubleshooting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/\",\"name\":\"How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png\",\"datePublished\":\"2023-08-23T20:38:04+00:00\",\"dateModified\":\"2023-08-23T20:38:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#primaryimage\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png\",\"width\":1280,\"height\":720,\"caption\":\"How to fix cURL error 28: Connection timed out after X milliseconds\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix cURL error 28: Connection timed out after X milliseconds\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"name\":\"HarmonWeb Blog\",\"description\":\"HarmonWeb\",\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\",\"name\":\"HarmonWeb\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"width\":831,\"height\":172,\"caption\":\"HarmonWeb\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\",\"name\":\"John Adegoke\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865\",\"caption\":\"John Adegoke\"},\"sameAs\":[\"https:\\\/\\\/harmonweb.com\\\/blog\"],\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/author\\\/harmonweb\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/","og_locale":"en_US","og_type":"article","og_title":"How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog","og_description":"Are you seeing the cURL error 28: Connection timed out error on your WordPress site? The cURL error&hellip;","og_url":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/","og_site_name":"HarmonWeb Blog","article_published_time":"2023-08-23T20:38:04+00:00","article_modified_time":"2023-08-23T20:38:05+00:00","og_image":[{"width":550,"height":326,"url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/02\/curlerror28-preview.png?v=1612687338","type":"image\/png"}],"author":"John Adegoke","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Adegoke","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#article","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/"},"author":{"name":"John Adegoke","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc"},"headline":"How to fix cURL error 28: Connection timed out after X milliseconds","datePublished":"2023-08-23T20:38:04+00:00","dateModified":"2023-08-23T20:38:05+00:00","mainEntityOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/"},"wordCount":905,"commentCount":1,"publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png","articleSection":["Troubleshooting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/","url":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/","name":"How to fix cURL error 28: Connection timed out after X milliseconds | HarmonWeb Blog","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#primaryimage"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png","datePublished":"2023-08-23T20:38:04+00:00","dateModified":"2023-08-23T20:38:05+00:00","breadcrumb":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#primaryimage","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/07\/How-to-fix-cURL-error-28-Connection-timed-out-after-X-milliseconds.png","width":1280,"height":720,"caption":"How to fix cURL error 28: Connection timed out after X milliseconds"},{"@type":"BreadcrumbList","@id":"https:\/\/harmonweb.com\/blog\/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/harmonweb.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to fix cURL error 28: Connection timed out after X milliseconds"}]},{"@type":"WebSite","@id":"https:\/\/harmonweb.com\/blog\/#website","url":"https:\/\/harmonweb.com\/blog\/","name":"HarmonWeb Blog","description":"HarmonWeb","publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/harmonweb.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/harmonweb.com\/blog\/#organization","name":"HarmonWeb","url":"https:\/\/harmonweb.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","width":831,"height":172,"caption":"HarmonWeb"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc","name":"John Adegoke","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865","url":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776234865","caption":"John Adegoke"},"sameAs":["https:\/\/harmonweb.com\/blog"],"url":"https:\/\/harmonweb.com\/blog\/author\/harmonweb\/"}]}},"_links":{"self":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/comments?post=190"}],"version-history":[{"count":2,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/190\/revisions"}],"predecessor-version":[{"id":4665,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/190\/revisions\/4665"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media\/4663"}],"wp:attachment":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media?parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/categories?post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/tags?post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}