Hi @shaun,
Sorry for the delay in getting back to you. We've been evaluating the information in the Apache's log file and found many Pagespeed errors.
[Tue Sep 10 19:05:53.740434 2019] [pagespeed:warn] [pid 18609:tid 140362215487232] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://172.31.32.54/ for 15.068 sec. [Tue Sep 10 19:05:54.104513 2019] [pagespeed:warn] [pid 18609:tid 140362526787328] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://citydeepauto.co.za/wp-content/plugins/page-views-count/assets/js/pvc.backbone.min.js?ver=2.1.3 for 5.033 sec.
[Tue Sep 10 19:05:54.144298 2019] [pagespeed:warn] [pid 18609:tid 140361980491520] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://citydeepauto.co.za/inventory/?make=mercedes-benz for 10.033 sec. [Tue Sep 10 19:05:54.270142 2019] [pagespeed:warn] [pid 18609:tid 140361955313408] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://citydeepauto.co.za/inventory/?condition=&make=&max_price= for 15.104 sec.
[Tue Sep 10 19:05:54.351414 2019] [pagespeed:warn] [pid 18609:tid 140362341377792] [mod_pagespeed 1.9.32.14-0 @18609] Fetch timed out for http://citydeepauto.co.za/wp-content/plugins/stm_vehicles_listing/assets/css/frontend/owl.carousel.css,qver=5.2.3.pagespeed.ce.TZw3JYsjaq.css
[Tue Sep 10 19:05:54.352175 2019] [pagespeed:warn] [pid 18609:tid 140362341377792] [mod_pagespeed 1.9.32.14-0 @18609] http://citydeepauto.co.za/wp-content/plugins/stm_vehicles_listing/assets/css/frontend/owl.carousel.css,qver=5.2.3.pagespeed.ce.TZw3JYsjaq.css resource_404_count: not found (404) [Tue Sep 10 19:05:54.353569 2019] [pagespeed:warn] [pid 18609:tid 140362064418560] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://citydeepauto.co.za/wp-content/uploads/sites/14/2019/07/CD20993A-640x466.jpg for 5 sec.
[Tue Sep 10 19:05:54.594805 2019] [pagespeed:warn] [pid 18609:tid 140362089596672] [mod_pagespeed 1.9.32.14-0 @18609] Waiting for completion of URL http://citydeepauto.co.za/favicon.ico for 20.097 sec.
[Tue Sep 10 19:05:55.702353 2019] [pagespeed:error] [pid 18609:tid 140362299414272] [mod_pagespeed 1.9.32.14-0 @18609] Slow read operation on file /opt/bitnami/apache2/var/cache/mod_pagespeed/v2/citydeepauto.co.za/http,3A/,2Fcitydeepauto.co.za/wp-content/uploads/sites/14/2019/07/xCD20993C-640x466.jpg.pagespeed.ic.C8viufC_SN.webp,: 367.693ms; configure SlowFileLatencyUs to change threshold\n
[Tue Sep 10 19:05:57.462856 2019] [pagespeed:error] [pid 18609:tid 140361921742592] [mod_pagespeed 1.9.32.14-0 @18609] Slow read operation on file /opt/bitnami/apache2/var/cache/mod_pagespeed/v2/citydeepauto.co.za/http,3A/,2Fcitydeepauto.co.za/wp-includes/js/wp-emoji-release.min.js,3Fver=5.2.3,: 405.397ms; configure SlowFileLatencyUs to change threshold\n
[Tue Sep 10 19:05:58.160505 2019] [pagespeed:error] [pid 18609:tid 140361921742592] [mod_pagespeed 1.9.32.14-0 @18609] Slow read operation on file /opt/bitnami/apache2/var/cache/mod_pagespeed/v2/citydeepauto.co.za/http,3A/,2Fcitydeepauto.co.za/wp-content/themes/motors/assets/images/radio.png,: 324.826ms; configure SlowFileLatencyUs to change threshold\n
It seems that the plugins or theme you use are not fully compatible with Pagespeed and that's why Apache shows those errors in the logs. You have some options now:
- Flush the Pagespeed cache and see if the errors are resolved. This way you will keep using Pagespeed
https://docs.bitnami.com/aws/apps/wordpress/administration/use-pagespeed/#flush-the-pagespeed-cache
- If the previous doesn't work, disable Pagespeed completely
https://docs.bitnami.com/aws/apps/wordpress/administration/use-pagespeed/#disable-pagespeed
I didn't see any other error in the Apache's log and I just accessed your site and it loaded properly
http://citydeepauto.co.za
Do those 504 error messages appear only when browsing some specific pages? Maybe those pages make use of a plugin you installed and that can be the reason as I mentioned above.
Let us know if that solves the issue.
Thanks