Hi Retool Community and Support Team,
We are experiencing sudden 502 Bad Gateway errors on our REST API queries. Since there have been absolutely no changes to our backend infrastructure, we strongly suspect this is an issue with Retool's internal proxy limits regarding incoming Response Headers.
Here is the exact situation:
When we send a request, our backend successfully processes it and returns a 200 OK along with a very large Response Header (which includes heavy Set-Cookie and APM/Trace headers).
Crucial Evidence: Our infrastructure logs confirm that ONLY 200 OK responses are being sent back to Retool. There are zero 502 logs on our server side.
Despite our server successfully dispatching the response, the Retool UI throws a 502 Bad Gateway.
This strongly indicates that Retool's internal proxy is choking on the large Response Headers returning from our server and dropping the connection, generating the 502 internally.
[Question]
Has there been any recent update to Retool's proxy or Node.js environment that tightened the max_http_header_size or proxy buffer limits for incoming responses?
Could you please investigate this issue and let us know if there is any workaround or fix?
Thank you!