We sometimes get 502 errors in our applications.
To investigate the cause, we tested using a simple application.
Test environment
- Application: GitHub - nio-p/express-hello-world: Express Hello World Example on Render https://render.com
- Spec: Free
The test application executes the following code for each access and returns html.
"console.log(“HELLO: " + new Date());”
After applying a temporary small access load (2-3 requests per second) for about 1 minute, the following screen was displayed.
The server-side log then displayed the following output.
The situation at this time was as follows
- 502 returned by Cloudflare between 15:15:38 and 15:15:50
- the Web Server hosted by Render is not down
Even the production application we normally use sometimes returns 502 errors despite small concurrent accesses.
Is this something that is out of Render’s or our control?
Any feedback would be appreciated.