Skip to content
Cloudflare Docs

Error 500

Error 500: internal server error

This error indicates a problem with your origin web server, preventing it from fulfilling the request.

Common causes

The Error establishing database connection message is a common HTTP 500 error, typically indicating an origin web server issue. If you encounter this error, contact your hosting provider for assistance.

Resolution

When dealing with most 5XX errors, the first step is to reach out to your hosting provider or site administrator to help troubleshoot the issue. Share the necessary error details to your hosting provider to assist troubleshooting the issue.

However, if the 500 error contains cloudflare or cloudflare-nginx in the HTML response body, contact Cloudflare support and provide the following details:

  • Your domain name
  • The time and timezone of the 500 error occurrence
  • The output of www.example.com/cdn-cgi/trace from the browser where the 500 error was observed (replace www.example.com with your actual domain and hostname)