Ascender Web UI Down After Enabling Debug Web Requests
Introduction
Ascender includes a "Debug Web Requests" setting that turns on per-request profiling. Enabling it on a running instance can take the Web UI offline. This article covers how to recover when that happens.
Problem
After toggling "Debug Web Requests" to ON, the Web UI stops loading and Ascender is effectively unusable. The setting is normally changed from the Web UI, so with it unavailable there is no obvious way to turn it back off.
Symptoms
Every Web UI page returns the following error right after the setting is enabled:
A server error has occurred.
Resolution
The REST API keeps working even when the Web UI is down, so you can disable the setting through it. "Debug Web Requests" maps to the AWX_REQUEST_PROFILE setting, which lives under /api/v2/settings/debug/. Set it back to false:
curl -X PATCH \
-H "Content-Type: application/json" \
-u admin \
https://<ascender-host>/api/v2/settings/debug/ \
-d '{"AWX_REQUEST_PROFILE": false}'
Replace <ascender-host> with your Ascender host. Passing -u admin without the password makes curl prompt for it, which keeps it out of your shell history and the process list; you can also authenticate with an API token using -H "Authorization: Bearer <token>" instead. If Ascender uses a self-signed certificate, add --cacert <ca.pem> to verify against your CA, or -k to skip verification (less secure, avoid on untrusted networks). Once the PATCH succeeds, the Web UI loads normally again.
Root Cause
"Debug Web Requests" enables per-request profiling, which writes profiling output to /var/log/tower/profile/. When that directory doesn't exist, the profiling step errors on every request. Disabling AWX_REQUEST_PROFILE stops the profiling attempt and restores normal operation.
Notes
⚠️ WARNING Avoid enabling request profiling or other debug settings on a production Ascender instance.
The REST API remaining available while the Web UI is down is useful more generally: other settings under /api/v2/settings/ can be read and patched the same way when the UI is unreachable.
If you do need request profiling, confirm that /var/log/tower/profile/ exists and is writable by the service before enabling the setting.
References & related articles
Ascender Documentation
Ascender Installation Overview
Ascender API Reference (Community Documentation)