{"id":666,"date":"2026-04-29T09:28:36","date_gmt":"2026-04-29T08:28:36","guid":{"rendered":"https:\/\/hostpro.com\/blog\/?p=666"},"modified":"2026-04-29T09:28:37","modified_gmt":"2026-04-29T08:28:37","slug":"causes-of-error-502-how-to-fix-it","status":"publish","type":"post","link":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/","title":{"rendered":"Causes of Error 502. How to fix it?"},"content":{"rendered":"\n<p><a href=\"#502-error-causes\" data-type=\"internal\" data-id=\"#502-error-causes\">Causes of Error 502<\/a><\/p>\n\n\n\n<p><a href=\"#502-error-fix\" data-type=\"internal\" data-id=\"#502-error-fix\">What should a user do if they encounter Error 502?<\/a><\/p>\n\n\n\n<p><a href=\"#Admin-fix-502\" data-type=\"internal\" data-id=\"#Admin-fix-502\">What should a website administrator do?<\/a><\/p>\n\n\n\n<p><a href=\"#conclusion\" data-type=\"internal\" data-id=\"#conclusion\">In conclusion<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>5xx errors indicate server-side issues. Specifically, a 502 error refers to an HTTP status code that occurs when one server does not receive a valid request from another server.<\/p>\n\n\n\n<p>For example, on a hosting server, an Nginx web server is positioned in front of the Apache web server. If Apache fails to process the request, it signals this to Nginx. Consequently, Nginx returns an error to the client.<\/p>\n\n\n\n<p>In this article, we\u2019ll explain in detail the causes of the 502 error and what both users and site administrators should do to resolve it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"502-error-causes\">Causes of the 502 Error<\/h2>\n\n\n\n<p>There are several reasons that can lead to a 502 Bad Gateway error. Here are the most common ones:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Increased server load<\/strong>, resulting in resource shortages.<\/li>\n\n\n\n<li><strong>Server configuration limitations.<\/strong> Limits set on the processing of concurrent requests, request execution time, or the maximum number of connections to the server. For example, if the limit on the number of connections to Apache or Nginx is too low for the current load, the server may not be able to process all incoming requests, resulting in a 502 error. Additionally, incorrectly configured timeouts between Nginx and Apache can also trigger an error if one server waits for a response longer than the configuration allows.<\/li>\n\n\n\n<li><strong>A hacker\u2019s DDoS attack<\/strong> could result in your access to the site being blocked in the Nginx configuration.<\/li>\n\n\n\n<li><strong>Errors in the site\u2019s code. <\/strong>If certain functions or other lines of code are incorrectly written on the site, this can cause a 502 error. Also, pay attention to plugins, especially if you\u2019ve recently installed new ones.<\/li>\n\n\n\n<li><strong>Network issues.<\/strong> A dropped connection or routing problems.<\/li>\n\n\n\n<li><strong>DNS issues.<\/strong> Incorrectly configured DNS servers can trigger a 502 error.<\/li>\n\n\n\n<li><strong>Browser issues.<\/strong> On the user\u2019s end, the problem may be caused by the browser. Installed extensions are usually the cause.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"502-error-fix\">What should a user do if they encounter a 502 error?<\/h2>\n\n\n\n<p>Before contacting the site administrators, the user can check whether the 502 error was caused by an issue on their end.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"322\" src=\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/image.png\" alt=\"502 Error | HostPro blog\" class=\"wp-image-668\" srcset=\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/image.png 752w, https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/image-300x128.png 300w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Reload the page<\/p>\n\n\n\n<p>Quite often, the 502 error resolves itself after a short period of time. For example, while the site was loading, the number of requests exceeded the limit set by the site owner. You can wait a few minutes and try reloading the page. If the problem persists, proceed to the next steps.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Check your internet connection<\/p>\n\n\n\n<p>Try loading other pages and make sure you have a stable internet connection. Check your modem, restart your router, and then try accessing the problematic website again.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Clearing the cache and cookies<\/p>\n\n\n\n<p>Incorrectly loaded cache and cookies can also cause a 502 error. In such cases, simply clear the data in your browser settings.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Clearing the DNS Cache<\/p>\n\n\n\n<p>Suppose an incorrect IP address has been stored in the cache. In that case, you need to clear the DNS cache. The procedure varies depending on the operating system.<\/p>\n\n\n\n<p>In the Windows command prompt, enter<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>ipconfig \/flush<span style=\"background-color: initial; color: inherit; font-size: 0.9375rem; text-align: initial;\">dns<\/span><\/code><\/code><\/pre>\n\n\n\n<p>On a Mac, open the Terminal app and enter the command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo killall -HUP mDNSResponder<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 Linux, \u0442\u043e \u0442\u0430\u043a\u043e\u0436 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0432\u0456\u043a\u043d\u043e \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b\u0443. \u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u044f\u043a\u0443 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438, \u0437\u0430\u043b\u0435\u0436\u0438\u0442\u044c \u0432\u0456\u0434 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0443<\/p>\n\n\n\n<p>Ubuntu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service network-manager restart<\/code><\/pre>\n\n\n\n<p>Others:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/etc\/init.d\/nscd restart<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">Another browser<\/p>\n\n\n\n<p>If you have the option to use a different browser, please do so. The issue may be specific to your current browser.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Plugins and extensions<\/p>\n\n\n\n<p>Various plugins and extensions installed in your browser may be causing the 502 error. Disable them one by one to identify the culprit.<\/p>\n\n\n\n<p>If none of the above methods worked, the cause of the error is on the server side. Do you have the website administrators\u2019 contact information? Let them know about the problem. Or you can wait until they resolve it themselves and come back later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Admin-fix-502\">What should the website administrator do?<\/h2>\n\n\n\n<p>In such cases, it\u2019s usually best to contact the <a href=\"https:\/\/hostpro.com\/\" data-type=\"link\" data-id=\"https:\/\/hostpro.com\/\">hosting <\/a>provider\u2019s technical support right away.<\/p>\n\n\n\n<p>However, you can try a few steps on your own.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Checking the error log<\/p>\n\n\n\n<p>If the error appeared after making certain changes or updates, checking the error logs can help you determine what the problem is. Then, based on the data obtained, you can decide how to fix the error.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Checking Plugins<\/p>\n\n\n\n<p>One of the installed plugins may be affecting the site\u2019s performance. Try disabling them one by one by renaming their folders. If the error disappears, you\u2019ve found the cause.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Checking the Content Delivery Network (CDN)<\/p>\n\n\n\n<p>Make sure your server\u2019s IP address is configured correctly. To do this, contact your CDN provider.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">In conclusion<\/h2>\n\n\n\n<p>A 502 Bad Gateway error is usually a temporary issue. But if it doesn\u2019t go away on its own, you can always contact our dedicated <a href=\"https:\/\/hostpro.com\/billing\/submitticket.php\" data-type=\"link\" data-id=\"https:\/\/hostpro.com\/billing\/submitticket.php\">tech support team<\/a>. They\u2019re ready to help 24\/7.<\/p>\n\n\n\n<p>Order ultra-fast <a href=\"https:\/\/hostpro.com\/linux-vps\" data-type=\"link\" data-id=\"https:\/\/hostpro.com\/linux-vps\">NVMe Hosting<\/a> from HostPro to speed up your website by 8 times. Every plan includes a powerful 5 GHz processor, DDoS protection and daily backups.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Causes of Error 502 What should a user do if they encounter Error 502? What should a website administrator do? In conclusion 5xx errors indicate<\/p>\n","protected":false},"author":5,"featured_media":667,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-site-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Causes of Error 502. How to fix it? - Hostpro 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:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Causes of Error 502. How to fix it? - Hostpro Blog\" \/>\n<meta property=\"og:description\" content=\"Causes of Error 502 What should a user do if they encounter Error 502? What should a website administrator do? In conclusion 5xx errors indicate\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostpro Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-29T08:28:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-29T08:28:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1290\" \/>\n\t<meta property=\"og:image:height\" content=\"506\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lilia Halytska\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostpro.com\/blog\/#organization\",\"name\":\"Hostpro - Managed Web Hosting\",\"url\":\"https:\/\/hostpro.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/hostpro.com\/blog\/#logo\",\"inLanguage\":\"en-GB\",\"url\":\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2021\/08\/unnamed.jpg\",\"contentUrl\":\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2021\/08\/unnamed.jpg\",\"width\":900,\"height\":900,\"caption\":\"Hostpro - Managed Web Hosting\"},\"image\":{\"@id\":\"https:\/\/hostpro.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostpro.com\/blog\/#website\",\"url\":\"https:\/\/hostpro.com\/blog\/\",\"name\":\"Hostpro Blog\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/hostpro.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostpro.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage\",\"inLanguage\":\"en-GB\",\"url\":\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png\",\"contentUrl\":\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png\",\"width\":1290,\"height\":506,\"caption\":\"502 Bad Gateway error diagram with reverse proxy and upstream server failure\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage\",\"url\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/\",\"name\":\"Causes of Error 502. How to fix it? - Hostpro Blog\",\"isPartOf\":{\"@id\":\"https:\/\/hostpro.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage\"},\"datePublished\":\"2026-04-29T08:28:36+00:00\",\"dateModified\":\"2026-04-29T08:28:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostpro.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Causes of Error 502. How to fix it?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage\"},\"author\":{\"@id\":\"https:\/\/hostpro.com\/blog\/#\/schema\/person\/fd0233320bb0e75556490a0f7e7fdcbc\"},\"headline\":\"Causes of Error 502. How to fix it?\",\"datePublished\":\"2026-04-29T08:28:36+00:00\",\"dateModified\":\"2026-04-29T08:28:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage\"},\"wordCount\":804,\"publisher\":{\"@id\":\"https:\/\/hostpro.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png\",\"articleSection\":[\"Site Security\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostpro.com\/blog\/#\/schema\/person\/fd0233320bb0e75556490a0f7e7fdcbc\",\"name\":\"Lilia Halytska\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/hostpro.com\/blog\/#personlogo\",\"inLanguage\":\"en-GB\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1b8687fee76b9377ae8f4bdaecd273896509b3a6299e9b0ff61b6217b4b6262?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1b8687fee76b9377ae8f4bdaecd273896509b3a6299e9b0ff61b6217b4b6262?s=96&d=mm&r=g\",\"caption\":\"Lilia Halytska\"},\"url\":\"https:\/\/hostpro.com\/blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Causes of Error 502. How to fix it? - Hostpro 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:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/","og_locale":"en_GB","og_type":"article","og_title":"Causes of Error 502. How to fix it? - Hostpro Blog","og_description":"Causes of Error 502 What should a user do if they encounter Error 502? What should a website administrator do? In conclusion 5xx errors indicate","og_url":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/","og_site_name":"Hostpro Blog","article_published_time":"2026-04-29T08:28:36+00:00","article_modified_time":"2026-04-29T08:28:37+00:00","og_image":[{"width":1290,"height":506,"url":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lilia Halytska","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/hostpro.com\/blog\/#organization","name":"Hostpro - Managed Web Hosting","url":"https:\/\/hostpro.com\/blog\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/hostpro.com\/blog\/#logo","inLanguage":"en-GB","url":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2021\/08\/unnamed.jpg","contentUrl":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2021\/08\/unnamed.jpg","width":900,"height":900,"caption":"Hostpro - Managed Web Hosting"},"image":{"@id":"https:\/\/hostpro.com\/blog\/#logo"}},{"@type":"WebSite","@id":"https:\/\/hostpro.com\/blog\/#website","url":"https:\/\/hostpro.com\/blog\/","name":"Hostpro Blog","description":"Just another WordPress site","publisher":{"@id":"https:\/\/hostpro.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostpro.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"ImageObject","@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage","inLanguage":"en-GB","url":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png","contentUrl":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png","width":1290,"height":506,"caption":"502 Bad Gateway error diagram with reverse proxy and upstream server failure"},{"@type":"WebPage","@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage","url":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/","name":"Causes of Error 502. How to fix it? - Hostpro Blog","isPartOf":{"@id":"https:\/\/hostpro.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage"},"datePublished":"2026-04-29T08:28:36+00:00","dateModified":"2026-04-29T08:28:37+00:00","breadcrumb":{"@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostpro.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Causes of Error 502. How to fix it?"}]},{"@type":"Article","@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#article","isPartOf":{"@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage"},"author":{"@id":"https:\/\/hostpro.com\/blog\/#\/schema\/person\/fd0233320bb0e75556490a0f7e7fdcbc"},"headline":"Causes of Error 502. How to fix it?","datePublished":"2026-04-29T08:28:36+00:00","dateModified":"2026-04-29T08:28:37+00:00","mainEntityOfPage":{"@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#webpage"},"wordCount":804,"publisher":{"@id":"https:\/\/hostpro.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostpro.com\/blog\/site-security\/causes-of-error-502-how-to-fix-it\/#primaryimage"},"thumbnailUrl":"https:\/\/hostpro.com\/blog\/wp-content\/uploads\/2026\/04\/c2c35bc6-3797-45ff-b80f-cdd28d89d23e-1290x506-1.png","articleSection":["Site Security"],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hostpro.com\/blog\/#\/schema\/person\/fd0233320bb0e75556490a0f7e7fdcbc","name":"Lilia Halytska","image":{"@type":"ImageObject","@id":"https:\/\/hostpro.com\/blog\/#personlogo","inLanguage":"en-GB","url":"https:\/\/secure.gravatar.com\/avatar\/e1b8687fee76b9377ae8f4bdaecd273896509b3a6299e9b0ff61b6217b4b6262?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1b8687fee76b9377ae8f4bdaecd273896509b3a6299e9b0ff61b6217b4b6262?s=96&d=mm&r=g","caption":"Lilia Halytska"},"url":"https:\/\/hostpro.com\/blog"}]}},"_links":{"self":[{"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":2,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/media\/667"}],"wp:attachment":[{"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostpro.com\/blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}