projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
Apache License 2.0
3.12k stars 655 forks source link

503 (Service Unavailable) when adding TMPDIR application setting to Azure PHP 8.2 App Service #3494

Closed Will-at-FreedomDev closed 5 months ago

Will-at-FreedomDev commented 10 months ago

Repro steps.

  1. Create a PHP 8.2 App Service
  2. Create an application setting named TMPDIR (the value I used was tmpdir).
  3. Try to access Advanced Tools (Kudu)

Project structures.

Doesn't matter.

The log/error given by the failure.

HTML: Application Error :( DevTools: Status 503 (Service Unavailable)

Debug your Azure website remotely.

Doesn't matter.

Mention any other details that might be useful.

Azure blacklists other app setting names such as TMP and TEMP. If TMPDIR is essential for Kudu to operate, this should be added to that blacklist or Kudu shouldn't be broken when the setting is being used.

jvano commented 5 months ago

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano Azure App Service