Resolving HTTP 500 errors on custom domains in Adobe Edge Delivery Services
This article explains how to resolve HTTP 500 errors that occur on custom CDN-managed domains in Adobe Edge Delivery Services, while the default domain remains healthy.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) (Edge Delivery Services)
Symptoms
- Custom domains configured through the CDN return HTTP 500 errors with an empty response body on every request.
- The default domain remains healthy and serves content, as expected.
- This issue may affect multiple custom domains, indicating a possible configuration or logic problem at the CDN or Edge Function level.
Cause
The HTTP 500 errors are caused by a failure in the CDN Edge Function, which intercepts requests to the custom domains and doesn’t forward them to the healthy origin. This typically results from incorrect logic or error handling in the Edge Function configuration.
Resolution resolution
Follow the steps below to resolve the issue:
- Review the Edge Function configuration for the affected custom domains in your CDN management console.
- Inspect the Edge Function logic to ensure it correctly proxies requests to the intended origin domain and doesn’t inadvertently return HTTP 500 errors.
- If you have recently made changes to domain registration or DNS settings, verify that the CDN and Edge Function configurations are up-to-date and consistent with the current environment.
- Test direct access to the origin domain to confirm it’s healthy and serving content, as expected.
- Review Edge Function logs and error handling routines to identify any issues that could cause the HTTP 500 response. Update the logic to handle errors gracefully and ensure requests are properly forwarded to the origin.
- After making changes, test the custom domains to confirm that they now serve content without returning HTTP 500 errors.
recommendation-more-help
experience-cloud-kcs-help-kbarticles