502 error for healthy server

Hi, I have deployed a FastAPI application successfully and the server is healthy, but when testing it out, it returns
Error: response status is 502, with the response headers :
alt-svc: h3=“:443”; ma=86400
cf-cache-status: DYNAMIC
cf-ray: 7e4033b7faba17aa-MAA
content-length: 0
date: Sun,09 Jul 2023 11:25:01 GMT
server: cloudflare
vary: Accept-Encoding
x-render-origin-server: Render
x-render-routing: dynamic-user-server-502
There is nothing in the logs that could suggest the occurrence of this error

Hi there,

It looks like your service ran out of memory. You can see the unhealthy events for your service on our dashboard. During this time, while your service was being restarted, you would have seen 502 responses as there is no service for our proxy to connect to.

Regards,

Keith
Render Support, UTC+10 :australia:

1 Like

“Could you solve the error?”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.