<p>This is kind of hard to debug without any logs, but because 504 is a gateway timeout error, I would start by checking if your site uses any <strong>external</strong> services, other servers it tries to reach (only from within your templates, because the admin works fine).</p>

<p>This could be anything from Google's geolocation API to an external image service, that can not be reached because of server settings on either side.</p>

<p>Is there anything in your server logs, or could you activate logging for your server to get more details?</p>

CC BY-SA 3.0
2018-04-13T09:17:08.713Z
Thanks Paul, there was problem with SEOMatic plugin. I disabled it and site started working. I am going to do further investigation to sort out the problem of SEOMatic. Thanks again :)
Bhashkar Yadav
CC BY-SA 4.0
2018-11-16T21:37:45.643Z
+1 Had the same strange issue with 504 error - I switched branches on repo, I think I dropped my security key from env configs. Either way was able to disable SEOmatic and then all worked again. Very strange
Will
CC BY-SA 3.0
2018-04-13T08:45:42.683Z
2018-04-13T08:45:42.683Z
Paul
<p>I was seeing similar issues and in the end it turned out to be a missing image.
In my case it was the Creator (Entity Brand) logo missing. It had been picked but the file was missing locally. After reuploaded, it resolved the issues.</p>

<p>I wrote the issue here -> <a href="https://github.com/nystudio107/craft-seomatic/issues/418" rel="nofollow noreferrer">https://github.com/nystudio107/craft-seomatic/issues/418</a></p>

CC BY-SA 4.0
2019-06-07T15:16:10.793Z
2019-06-07T15:16:10.793Z
Terry Upton
<p>Recently, I developed a Craft 3 website. Its working perfectly on development server. But after deploying to another server, I am getting 504 error for home and all front end pages while Craft dashboard is working perfectly. I looked into logs but didn't find anything related to it.</p>

<craft3>
504 error on home page of Craft 3 website
# 504 error on home page of Craft 3 website

(Asked by: username_0 on 2018-04-13)

Recently, I developed a Craft 3 website. Its working perfectly on development server. But after deploying to another server, I am getting 504 error for home and all front end pages while Craft dashboard is working perfectly. I looked into logs but didn't find anything related to it.

**Tags:** craft3

---

## 2 answers

### Answer by username_1 on 2018-04-13. Score: 3

This is kind of hard to debug without any logs, but because 504 is a gateway timeout error, I would start by checking if your site uses any **external** services, other servers it tries to reach (only from within your templates, because the admin works fine).

This could be anything from Google's geolocation API to an external image service, that can not be reached because of server settings on either side.

Is there anything in your server logs, or could you activate logging for your server to get more details?

> **Comments:**
> **username_0**: Thanks Paul, there was problem with SEOMatic plugin. I disabled it and site started working. I am going to do further investigation to sort out the problem of SEOMatic. Thanks again :)  
> **username_2**: +1 Had the same strange issue with 504 error - I switched branches on repo, I think I dropped my security key from env configs. Either way was able to disable SEOmatic and then all worked again. Very strange  

---

### Answer by username_3 on 2019-06-07. Score: 1

I was seeing similar issues and in the end it turned out to be a missing image.
In my case it was the Creator (Entity Brand) logo missing. It had been picked but the file was missing locally. After reuploaded, it resolved the issues.

I wrote the issue here -> <https://github.com/nystudio107/craft-seomatic/issues/418>


---

