{"id":257,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=257"},"modified":"2023-10-09T12:24:27","modified_gmt":"2023-10-09T12:24:27","slug":"How-to-Fix-the-504-Bad-Gateway-Timeout-Error","status":"publish","type":"post","link":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html","title":{"rendered":"How to Fix the 504 Bad Gateway Timeout Error?"},"content":{"rendered":"<div class=\"kb-article-content\">\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The Internet is a game of actions and responses. When you hear the word internet, you visualize a huge network of large interconnected computers communicating continuously. For an action, one computer performs another computer flashes (sends) its response. This is how the continuous communication chain continues amongst the networks and clusters of computers in global cyberspace.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Have you ever experienced a situation when your computer requested something in this huge network but never received a response? If yes, you are not the only one to witness such a situation. In simple terms, there were flaws in the communication, because of which the communication didn&#8217;t establish well.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Besides, such missed connectivity issues irritate the users and cost the website owner his business and credibility.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In a broader perspective, this situation is known as the 504 Bad Gateway Timeout Error.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If you also feel this issue must be addressed, let\u2019s dig into the topic without further ado.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>What Exactly is 504 Bad Gateway Timeout Error?<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Whenever a user requests to load a website from his browser, it sends a request to that relevant site server. Upon successfully processing that request, the server returns a status code <\/span><strong>&#8220;200 OK,&#8221;<\/strong><span style=\"font-weight: 400;\"> indicating that the process has been completed successfully. However, if the server takes longer than usual to process that request, your browser may indicate this issue by displaying <\/span><strong>HTTP Error Code 504.<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/372_504-Bad-Gateway-Timeout-Error.png\" alt=\"504 Bad Gateway Timeout Error\" width=\"1100\" height=\"619\"><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This displayed error indicates that the server from which the information was requested was incapable of processing the request and returning it to the requesting server.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>There are 2 probabilities here:<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The first possibility is that this error is temporary. The upstream server was too busy processing the previous requests and had no room (free resources) to process the current (newly received) request.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The second possibility is that your computer could not establish a reliable connection with the upstream server, accepting that the upstream server was in perfect shape and performing well. This might happen due to multiple reasons.<\/span><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 64px;\">\n<td style=\"width: 99.9056%; height: 64px;\"><strong><span style=\"font-family: verdana, geneva, sans-serif;\"><em>Keeping aside the reasons, this 504 Bad Gateway Timeout Error is the most irritating barrier between your business and your visitor\u2019s expectations and requirements. Such recurring errors might harm your website\u2019s SEO and brand credibility.<\/em><em>&nbsp;&nbsp;&nbsp;<\/em><\/span><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/241\/A-Simple-Guide-To-Connect-Your-cPanel-Email-to-Gmail.html\"><strong>A Simple Guide To Connect Your cPanel Email to Gmail<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Variations of the 504 Gateway Timeout Error<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">There are multiple (word) formats to name this error, yet they all mean the same. Say it anyway; it ultimately means that the communication between the servers in cyberspace got disrupted.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Here are a few shorter formats:<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">504 Gateway Timeout<\/span><\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Gateway Timeout Error<\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">504 Gateway Timeout NGINX<\/span><\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">HTTP 504<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Gateway Timeout (504)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">504 Error<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">HTTP Error 504 \u2013 Gateway Timeout<br \/>\n<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Here are a few longer formats:<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">The page request got canceled because it took too long to complete<\/span><\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">504 Gateway Time-out \u2013 The server didn\u2019t respond in time<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This page isn\u2019t working \u2013 Domain took too long to respond<br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/373_504-Gateway-Time-out.png\" alt=\"504 Gateway Time-out\" width=\"1514\" height=\"1117\"><\/span><\/li>\n<\/ul>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\">How to Create a PHPinfo File and View PHP Information?<\/a><\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>What causes a 504 Gateway Timeout?<br \/>\n<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">Let\u2019s talk about the root causes of this error.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Issues with Server Connection<br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The majority of websites are hosted on multiple servers. If one of the servers is down for maintenance or another reason, your visitors will see a 504 Gateway Timeout Error page.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Recent changes to your DNS.&nbsp;<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">A recent server change or a shift to a newly assigned IP address can change your website&#8217;s DNS server. The 504 Gateway Timeout Error could appear on your website&#8217;s page. It will take a few hours before these DNS changes take effect. Your website will be up and running only after that. <\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Improper Firewall Configuration.<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">As we understand, your firewall is your website&#8217;s first line of defense. This firewall is meant to safeguard it from malicious visitors or distributed denial-of-service attacks (DDoS). Improper firewall configuration can cause your firewall to misunderstand genuine requests from CDN as an attack on your server and reject them. Such an erroneous configuration will not allow smooth traffic exchange between servers leading to a 504 Gateway Timeout Error.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Bugs in your website\u2019s code<\/strong><span style=\"font-weight: 400;\">&nbsp;&nbsp;<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Your website may have a bug in its programming code. In that case, your server will not be able to answer the requests received from the CDN correctly.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Errors in Network Connectivity<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If you closely observe the 504 gateway timeout error, you will see that one or more devices did not respond on time. For a website to display successfully, many network devices must communicate properly. These include modems, routers, network switches, cabling, and more. If any of these devices malfunctioned, it would generate a 504 timeout error.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Is 504 Gateway Timeout my fault?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If you are asking this question from the user\u2019s perspective, it might not necessarily be your fault, as the server at the website\u2019s end is non-responsive. Similarly, for a website owner, the internet connection and other peripherals at the user\u2019s end might not be functioning well.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Instead of naming a culprit, it is better to know the solution you can implement to resolve this error.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>How Do 504 Gateway Timeout Errors Affect SEO?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Inevitably, more time will be required to fix the 504 Gateway Timeout Error on your website. However, it would be best if you still put in some work to ensure that it does not harm your site&#8217;s search engine optimization.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The 504 Gateway Timeout error prevents your website from loading, much like the other 5XX series issues. This will negatively impact both your users and search engines.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If a web crawler encounters an error code 504, it will be unable to access the website. If the website was previously indexed, its ranking could fall further down on the search engine results pages. If that keeps happening, the site may be deindexed altogether.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/254\/How-to-Find-and-Fix-All-404-Errors-on-Your-Website.html\"><strong>How to Find &amp; Fix All 404 Errors on Your Website?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>How to Fix 504 Gateway timeout Errors as a Visitor?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">As a visitor, you might face this error while visiting any website. You may help yourself by employing a few following tweaks.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Use this marvelous tool<\/strong> <strong>\u201cIs It Down Right Now?\u201d<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">There are instances when you are unsure if the site is not working only for you or everyone. When in a dilemma, use this magical tool <\/span><a href=\"https:\/\/www.isitdownrightnow.com\/\">Is It Down Right Now?<\/a><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>It is easy and simple to use:<\/strong><\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">Open the tool\u2019s website<\/span><\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Enter the web address of the site you wish to access and press the <\/span><strong>Check<\/strong><span style=\"font-weight: 400;\"> button.<\/span><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The tool will conduct necessary checks and returns the results.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Note: Check the following screenshot.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/374_Open-the-tools-website.png\" alt=\"Open the tool\u2019s website\" width=\"545\" height=\"468\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This tool also shows you the Status History of that website.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/376_your-company-status-history.png\" alt=\"your company status history\" width=\"536\" height=\"317\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Refresh your webpage<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">There is nothing simpler than refreshing a webpage. <\/span><span style=\"font-weight: 400;\">You press the function key <\/span><strong>F5<\/strong><span style=\"font-weight: 400;\">, maybe multiple times, and your webpage will freshly load. <\/span><span style=\"font-weight: 400;\">&nbsp;<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">As we discussed previously that this type of error is generally temporary. You might encounter this error when the internet is busy handling heavy traffic. Refresh your page, and you are good to go. <\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Note: Use the key combination of Cmd + R on a macOS.<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Fine-tune your proxy server settings<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Many users utilize proxy servers to ensure the confidentiality of their Internet transactions. Various proxy services conceal your real location by masking your computer&#8217;s IP address, while others encrypt your web requests to prevent unauthorized access. Additionally, proxy servers can grant or deny access to specific URLs and web pages based on the IP addresses of their users.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">There are situations where incorrect proxy settings on your PC can result in a 504 Timeout Error. Consequently, you must ensure your proxy server settings are correct or at least disabled. This will help you arrive at the root cause of the problem.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Follow these steps only if your system has proxy settings enabled by default.<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em>From your Windows 10 PC,<br \/>\n<\/em><\/strong><\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em><span style=\"font-weight: 400;\">Click on the <\/span>Start <span style=\"font-weight: 400;\">button<\/span><\/em><\/strong><\/span><\/li>\n<\/ol>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/377_select-start-menu.png\" alt=\"select start menu\" width=\"231\" height=\"37\"><\/em><\/strong><span style=\"font-weight: 400;\">&nbsp; &nbsp; 2. Select the gear icon to reach the Settings page.&nbsp;<\/span><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/378_Select-the-gear-icon.png\" alt=\"Select the gear icon\" width=\"270\" height=\"264\"><\/span>&nbsp; &nbsp; 3.&nbsp;<span style=\"font-weight: 400;\">F<\/span><strong><span style=\"font-weight: 400;\">rom the menu, search <\/span><em>Network &amp; Internet or Network<\/em><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/380_Search-Network-and-Internet-or-Network.png\" alt=\"Search Network &amp; Internet or Network\" width=\"372\" height=\"524\"><\/em><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">&nbsp; &nbsp; 4.&nbsp;<span style=\"font-weight: 400;\">Go<\/span><strong><em><span style=\"font-weight: 400;\"> to the left panel and select <\/span>Proxy<span style=\"font-weight: 400;\">.<\/span><\/em><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/381_select-proxy-on-network-option.png\" alt=\"select proxy on network option\" width=\"389\" height=\"319\"><\/span><\/em><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\">&nbsp; &nbsp; &nbsp;5.&nbsp;Disable your proxy.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; max-width: 100%; margin: 10px auto; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/382_Disable-your-proxy.png\" alt=\"Disable your proxy\" width=\"595\" height=\"469\"><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read:<\/strong> <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/230\/How-to-Find-Out-the-Owner-of-a-Website-Domain.html\"><strong>How to Find Out the Owner of a Website Domain<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Reboot your network devices<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">If the tool \u201c<\/span><strong>Is It Down Right Now?<\/strong><span style=\"font-weight: 400;\">\u201d indicates that the webpage is down only for you, then the problem is at your end. Restarting or rebooting your electronic network device creates worders. You can restart your network devices to remove any temporary glitches or bottlenecks. This simple method often eliminates your issue, and you are back into action.&nbsp;<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">You may reboot your internet router, modems, network switches, and computer. Suppose you don\u2019t see that 504 Bad Gateway error again, then you should be able to land on your preferred website.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Contact their (website) Support<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">If the above step doesn\u2019t solve your issue and you still see the error message, it indicates that the error is at the website\u2019s end and their teams are busy fixing it. Search for their social media handles for updates on this issue, or try messaging them about it. Email them your concerns, and wait for them to reciprocate<\/span><span style=\"font-weight: 400;\">.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 PC&#8217;s DNS Cache &#8211; Flush It<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Imagine you received a reply from the website&#8217;s support team informing you that the DNS servers of the domain name have changed.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">On the other hand, your computer might still be finding the old DNS records stored in the DNS cache of your operating system. Play your magic and clear your system&#8217;s DNS cache to ensure that it is not the core reason for the HTTP 504 error.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Why not call up your ISP?<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Your Internet Service Provider is just a call away.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Call their support desk to check if they are facing any connectivity issues. Your ISP may be experiencing some serious service disruptions or performing emergency system maintenance. These actions might land you on a 504 gateway timed-out error message.&nbsp; <\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>Come back later<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Unfortunately, if nothing works for you, the only thing that should work is \u201cWait and Watch.\u201d&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In most instances, the 504 timeout error is a temporary phase and generally gets resolved with time. Return to your favorite website after a decent break, and you might successfully access it.&nbsp;&nbsp;&nbsp;<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>How to Fix 504 Gateway Timeout Errors as a Website Owner?&nbsp;&nbsp;<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">When you own a website, you must ensure that your visitors get the best experience. If your site starts developing errors, try to resolve them. The same stands for 504 error. If the error persists longer than usual, there are chances that your website\u2019s SEO will be impacted, resulting in a loss of business.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Let\u2019s discuss a few issues and their resolutions:<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 DNS issues<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">When moving your website to a new web server, you must update your domain&#8217;s DNS records. The domain then goes through a phase of propagation until the DNS update is acknowledged globally.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">During that period, your site may begin serving HTTP error 504 to your visitors. Use a web tool like <\/span><strong><a href=\"https:\/\/dnschecker.org\/\">DNS Checker<\/a><\/strong><span style=\"font-weight: 400;\"> to see if your domain name has propagated successfully.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Temporarily Disable Your Site\u2019s CDN<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Companies like Cloudflare offer reliable Content Delivery Network services or CDN. There may be times when your CDN service (offered by Cloudflare) cannot receive a response in time from the origin web server, resulting in HTTP error 504 on your site. To fix this issue, you have 2 options to act upon. Either bypass&nbsp;the CDN or disable it. Deactivation of these services will require DNS changes, which may take some time to take effect.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If you plan to bypass the CDN, you must edit the host file on your computer. You must point your domain directly to the hosting server if you doubt the error is coming from the hosting server.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Adding the following line to your host file instructs your computer to load the site from the origin server.<\/span><\/p>\n<table style=\"border-collapse: collapse; width: 100%; margin: 5px 0px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 46px;\">\n<td style=\"width: 99.9056%; height: 46px;\">\n<p style=\"text-align: center;\"><span style=\"font-family: Consolas, monaco, monospace;\"><span style=\"font-weight: 400;\">7.6.5.4 yourcompany.com <\/span><span style=\"font-weight: 400;\">www.yourcompany.com<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Note:<\/strong><span style=\"font-weight: 400;\"> You must replace 7.6.5.4 with the real IP address of your hosting server and your company with the real domain name.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Clear the cookies and cache of your browser and reload the website. Suppose the site loads without errors; the source of the problem is your CDN service. If this solution works for you, go to the CDN control panel and temporarily disable it.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2&nbsp;Take a look at the server logs<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If your Domain\u2019s DNS and CDN services are not the sources for this error, then you must definitely take a look at your server logs.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Scan your server log, and you might catch hold of the reason for the 504 error.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Spam, Bots, or DDoS Attacks<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Your site might be witnessing a 504 Gateway Timeout because of the malicious bots crawling your site at a very high rate. In the event of a DDoS attack involving malicious bots that generate unusual traffic, it will generate an HTTP 504 error message. These malicious bots will send multiple requests to your site to exhaust all your server&#8217;s resources. This will make the server heavy and perform slowly.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">By analyzing your access logs, you can identify IP addresses that generate these unusual requests for your site. You must block these identified IP addresses from accessing your site. This will help free the server resources, and they can handle genuine traffic.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/232\/How-to-Check-if-My-Server-is-Under-DDoS-Attack.html\"><strong>How to Check if My Server is Under DDoS Attack<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>How to fix 504 Gateway Timeout Errors in WordPress?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Websites build on the WordPress platform are prone to 504 errors frequently. If you have a WordPress-based online shopping website, 504 errors would be a regular site for your visitors.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2&nbsp;HTTP Timeouts<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">An HTTP Timeout might occur when you attempt to import files or items into your WordPress website for a longer period. This might be caused by a sluggish internet connection, which leaves the client-server connection open for too long.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">To address this issue, you can use a faster connection or an appropriate addon to speed up the import process. The WordPress Command-line interface allows you to run the <\/span><strong>wp import<\/strong><span style=\"font-weight: 400;\"> command through <\/span><strong>SSH<\/strong><span style=\"font-weight: 400;\">, which greatly boosts the process.<\/span><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/238\/How-to-Redirect-HTTP-to-HTTPS-in-htaccess.html\"><strong>How to Redirect HTTP to HTTPS in htaccess?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Disable the WordPress Firewall<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Your WordPress website may be unable to establish a proper connection with the origin server if you use a security firewall. By default, the timeout is set to a low value to protect your website against different attacks. This time value is considered adequate for a normal application to respond.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Nevertheless, if the application does not respond within that time frame, the firewall will display the 504 Gateway Timeout error. You can troubleshoot this problem by disabling the firewall. If the site loads correctly, the firewall may have blocked the IP addresses of the service on the hosting server. As a result, you should obtain the IP addresses used by your firewall and contact your <\/span><strong><a href=\"https:\/\/www.hostitsmart.com\/web-hosting\">web hosting provider<\/a><\/strong><span style=\"font-weight: 400;\"> to determine if these are blocked for any reason.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">However, even if you cannot resolve the issue by disabling your firewall, you may be able to identify the error the server is reporting.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/252\/Solutions-to-Fix-Establishing-WordPress-Database-Connection-Error.html\"><strong>Solutions to Fix Establishing WordPress Database Connection Error<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Check the .htaccess of your WP site<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">Your .htaccess file is a crucial configuration file for your website to function properly. It contains the necessary guidelines that influence the site&#8217;s behavior&nbsp;<\/span><\/strong><span style=\"font-weight: 400;\">and limits. A few WordPress plugins add (perhaps unnecessary) lines into that file, which causes problems resulting in an HTTP 504 error. You must thoroughly verify the file&#8217;s accuracy before proceeding.<\/span><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><em>What if you are unsure?<\/em><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Suppose you are uncertain about the integrity and accuracy of your .htaccess file; you can always rename it. This will disable the file. Now you can create a fresh (new) file with the default configuration. You may use SSH, FTP, or a File Manager that your Hosting Service Provider has provided you.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\"><strong>How to Find the Missing htaccess File?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Accuracy of WordPress Database<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">A damaged or unoptimized WordPress database can be the root cause of an HTTP 504 Error. Use PHPMyAdmin or some reliable WordPress plugin to restore and optimize your site&#8217;s database. Play safe by backing up your original database before any modifications.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Are your plugins and themes faulty?<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">A 504 error served on your website may result from a faulty plugin or a broken theme. To confirm if that&#8217;s the case, disable your active plugins (one after the other) and try loading the site. This process will help you pinpoint the source of the error.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Use your WordPress Admin Dashboard to disable your plugins from the plugin section directly.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If disabling the plugins did not resolve the problem of the conflicting plugin, your website&#8217;s corrupted or broken theme might be causing this issue. To confirm this, go to your Dashboard and switch to the default WordPress theme. If your admin section is inaccessible, you can also use PHPMyAdmin to update your theme from the database and see if it resolves the 504 Gateway Timeout.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>\u27a2 Scan your website\u2019s error log<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Enabling the Debug Mode for your WP website will help you log errors. Sometimes the secret is hidden within these entries. Scanning through them may help identify the right cause.&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">A file with a name similar to php_errorlog stores the PHP errors. This file is available in the root folder of your WP installation. You can confirm the file name&nbsp;<\/span><span style=\"font-weight: 400;\">and its location from your Hosting provider. Scanning the log file will give you a fair idea of what is causing the 504 timeout error on your website.<\/span><\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Conclusion<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">During our journey on How to Fix the 504 Bad Gateway Timeout Error, we explored various methods to eradicate this error. There is no foolproof method that confirms resolving this issue.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">As a website owner, you and your technical team must resolve this issue immediately and offer your visitors a best-in-class experience.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If you are a user, you have limited options to try and resolve the error if it exists at your end. Nonetheless, you always have your hosting partner with you. When none of your methods work, you can share your concerns with their Support Desk, who will help you with an accurate solution to this issue. <\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">We would love to hear from you. Host IT Smart welcomes queries for domains, web hosting, SSL certificates, and allied products. Drop a line at <\/span><a href=\"mailto:info@hostitsmart.com\"><span style=\"font-weight: 400;\">info@hostitsmart.com<\/span><\/a><span style=\"font-weight: 400;\">, and one of our experts will be delighted to help you.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Internet is a game of actions and responses. When you hear the word internet, you visualize a huge network of large interconnected computers communicating continuously. For an action, one computer performs another computer flashes (sends) its response. This is how the continuous communication chain continues amongst the networks and clusters of computers in global [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-257","post","type-post","status-publish","format-standard","hentry","category-website"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix the 504 Bad Gateway Timeout Error?<\/title>\n<meta name=\"description\" content=\"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the 504 Bad Gateway Timeout Error?\" \/>\n<meta property=\"og:description\" content=\"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-06T08:39:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-09T12:24:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/372_504-Bad-Gateway-Timeout-Error.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\"},\"headline\":\"How to Fix the 504 Bad Gateway Timeout Error?\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:24:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\"},\"wordCount\":3054,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\",\"name\":\"How to Fix the 504 Bad Gateway Timeout Error?\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:24:27+00:00\",\"description\":\"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\",\"name\":\"Host IT Smart Knowledge base\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":240,\"height\":80,\"caption\":\"Host IT Smart Knowledge base\"},\"image\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix the 504 Bad Gateway Timeout Error?","description":"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.","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:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html","og_locale":"en_US","og_type":"article","og_title":"How to Fix the 504 Bad Gateway Timeout Error?","og_description":"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.","og_url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2023-10-06T08:39:39+00:00","article_modified_time":"2023-10-09T12:24:27+00:00","og_image":[{"url":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/372_504-Bad-Gateway-Timeout-Error.png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html#article","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html"},"author":{"name":"Admin","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9"},"headline":"How to Fix the 504 Bad Gateway Timeout Error?","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:24:27+00:00","mainEntityOfPage":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html"},"wordCount":3054,"commentCount":0,"publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html","name":"How to Fix the 504 Bad Gateway Timeout Error?","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:24:27+00:00","description":"Experiencing a 504 Bad Gateway timeout error on the website. As a website visitor or owner, it is frustrating. Know the quick steps to fix the 504 Bad error.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/257\/How-to-Fix-the-504-Bad-Gateway-Timeout-Error.html"]}]},{"@type":"WebSite","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization","name":"Host IT Smart Knowledge base","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":240,"height":80,"caption":"Host IT Smart Knowledge base"},"image":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":1,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":586,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/257\/revisions\/586"}],"wp:attachment":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}