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 652 forks source link

APP SERVICE / SERVER ERROR #3428

Closed glenn1925 closed 6 months ago

glenn1925 commented 1 year ago

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

akorkiatupa commented 10 months ago

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

akorkiatupa commented 10 months ago

Update:

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

Prologh commented 9 months ago

Bumping this issue as it affects my deployments as well.

renrutsirhc commented 7 months ago

Could be something to do with this: https://devblogs.microsoft.com/oldnewthing/20230404-00/?p=108009

jvano commented 6 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

Prologh commented 6 months ago

@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

jvano commented 6 months ago

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.