I have a Redwood App (3 if you include other environments) deployed to Render. The project is comprised of a Static Site which redirects <APP_URL>/.redwood/functions/graphql/*
to <API_URL>
as an API proxy, and another rule redirecting <APP_URL>/*
to /index.html
to serve the static site.
Occasionally, a request to /graphql
returns a 502 Gateway Error
, with the response including the index.html
file, leading me to believe this request wasn’t caught and proxied to the API. This happens somewhat sporadically, but at least every 2 minutes of continued use.
Is there a way for me to access CDN logs through Render, or if you had any advice on debugging the root cause of the issue? I don’t feel I have enough insight and control into the systems at play, unless I’m missing something.
I know Render hosts static sides behind Cloudfront US (even if EU based), and am considering removing the redirect so api requests go directly to the API rather than proxied through the web url.