Skip to content

HTTP Error 502.5 - Process Failure after publishing to Azure #615

@hakonamatata

Description

@hakonamatata

Hi

I tried to publish the latest version of this project to Azure. When I create a new web app and publish for the first time, this works perfectly.

But as soon as I build the project again locally and attempt to update the web application in Azure by publishing again, I get this error:

Error:

HTTP Error 502.5 - Process Failure

Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Logging in Azure only shows:

System.ApplicationException: The trace listener AzureBlobTraceListener is disabled. ---> System.InvalidOperationException: The SAS URL for the cloud storage account is not specified. Use the environment variable 'DIAGNOSTICS_AZUREBLOBCONTAINERSASURL' to define it.
   at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.RefreshConfig()
   --- End of inner exception stack trace ---

I also tried to "attach debugger" in Visual Studio, but then I only get:

Unable to find a process called dotnet with arguments .\Asp2017.dll. The process may still be starting, please try again.

I have made some changes to the application, but that is mostly html and css, but I will try to publish a unchanged version of this project and see if the same happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions