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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APP SERVICE / SERVER ERROR

glenn1925 opened this issue · comments

Hi Kudu Team,

Anyone encounter this error and what is the fix?

Server Error in '/' Application.

The environment block used to start a process cannot be longer than 65535 bytes. Your environment block is 68453 bytes long. Remove some environment variables and try again.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack race for more information about the error and where it originated on the code.

You can access the image in the link below.

image

Thanks,
GCE

Just encountered this same issue with .NET 6 application running on Azure App Services. Which is particularly weird is that we have a production slot and a staging slot, production slot kudu works fine. Staging slot kudu throws that exact error.

Also our application in the staging slot reports to be healthy and responds to health request normally.

Application event logs are also missing and cannot be retrieved.

We have 163 application settings configuring different aspects of the application.

image

Update:

It's broken on every deployment slot because the threshold has been breached.

Bumping this issue as it affects my deployments as well.

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

@jvano Did you just copy & pasted this generic placeholder response to half of open issues on this project? People are devoting their precious time to create and discuss issues and this is all you can do? How shameful and disrespectful.

The least you could do is report this back to the appropriate department ON YOUR OWN instead of pushing this responsibility onto the community. Otherwise, these issues will die out, but probably this is exactly what you are after, that is, problems "solved".

image

I'm sorry but this project has not been maintained properly for quite some time. Kudu will continue in Azure App Service, but this repo will no longer be maintained. That's why we are asking to open Azure support incidents moving forward.