Upstream Requests to Auth0 Timeout when Using Reverse Proxy
Last Updated:
Overview
When using reverse proxy, upstream requests to Auth0 timeout with a 504 response. Timeouts do not occur when making connections to Auth0 directly.
Applies To
- Proxy
- 504 Errors
Cause
This can be due to the keepalive settings in the reverse proxy or at the OS level on the server on which it is hosted. This is especially true in the case where an AWS NAT gateway is being used. Refer to Intermittent Management API Timeouts for Apps Hosted in AWS