HTTP 500 Internal Server Error
HTTP 500 Internal Server Error means the responding server encountered an unexpected condition and could not fulfill the request. An application exception or an internal failure in a gateway can produce the same code.
Capture the request that failed
Collect the method, path, timestamp and response request ID. Compare a failing request with a simple request to another route on the same host. If only one route fails, inspect that handler and its dependencies. Redact tokens, personal data and credentials when sharing details.
Interpret a 500 in TestMyProxies
When a custom target returns 500 after the default probe succeeds, focus on the target side first. Follow the request ID from the edge or reverse proxy to the application logs if you operate the service. An error explicitly labeled Proxy refused the tunnel points to the earlier CONNECT exchange.
What successful requests tell you
Suppose requests to /health and / return 200, while GET /reports/weekly returns 500. If all three used the same proxy endpoint and were issued close together, the report handler is a better place to begin. Check the failing request’s correlation ID for a database error, a missing configuration value, or a downstream API error. When every route through a particular gateway fails, compare that gateway with another healthy path and check the gateway process itself.
Check the result of a failed write
A 500 can occur after an application commits a change and then fails to build its response. If a submission timed out or ended in a 500, check whether the record was created before sending it again. An operator should collect the response headers and the relevant exception from internal logs. Visitors can usually report the exact URL, time, and request ID without including account or session details.