DOI-ONRR / onrr.gov-site

We will use this repo to manage our work on the onrr.gov website
11 stars 3 forks source link

ONRR.gov (prod) is not loading data from CMS #3373

Open greensomes opened 2 hours ago

greensomes commented 2 hours ago

This issue results in the empty nav and screen in the frontend. Restarting always clears it. Here's a screenshot of what is in the developer tools:

image.png
greensomes commented 2 hours ago

I have observed that posting a graphql request to https://onrr.gov/graphql in Postman produces the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>504 Gateway Timeout ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront) HTTP3 Server
Request ID: SZ8aIszfsJu7DZTVEjIMeBwlSUm-eDtFdYZClcuRg6oMu-ZZ1Z970w&#x3D;&#x3D;
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>

However, hitting https://prod-onr-cms.app.cloud.gov/graphql works fine. This is significant.

greensomes commented 2 hours ago

Also, it is worth noting that restarting the prod-onrr-cms does not resolve the problem. It's actually the restart of the frontend that resolves it. This indicates that the problem is on the frontend and not the CMS.