If you utilize a VPN, disconnect from it and retest. VPNs utilize a Edition of the proxy server at your conclude so can at times trigger errors.
This process will deactivate all of your WordPress plugins https://woracious.com/seo/ramifications-of-the-504-error-on-seo/