A 504 error occurs when CloudFront is unable to connect with the origin server due to excessive traffic or configuration issues. This prevents users from accessing a website or app, resulting in an “connection refused” message.
Causes of this error may include:
* Overwhelming traffic on the origin server
* Configuration errors or misconfigurations
To troubleshoot and prevent this error, review CloudFront documentation for steps to resolve the issue.
Try resolving the problem by revisiting your content delivery strategy, checking configuration settings, or contacting website/app owners for assistance.
Source: https://fortune.com/article/gen-alpha-dream-careers-youtuber-influencer-social-media