How to fix server time out(500 error) , I have deployed web application in tomcat server which has been hosted on Azure PaaS app service plan p2v3.

Gadamella, Naresh 0 Reputation points
2024-07-17T19:47:26.78+00:00

I have a functionality in web application that runs more than 5 minutes, So need to set time out more than 10 mins. Application has been hosted on the Azure PaaS app service plan with P2V3.

Please help me to change default time and set server time out.

Also let me know how to set heap size. like P2v3 instances: -Xms14848m -Xmx14848m

Let me know if you need more infromation.

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
130 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,092 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 23,141 Reputation points Microsoft Employee
    2024-07-22T06:07:02.52+00:00

    @Gadamella, Naresh Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.

    I understand that your application is hosted on azure app service, correct me if my understanding is wrong.

    If yes, Azure app service has default request time out for 240 seconds and if your application takes more than this time it is suggested/recommended to leverage Azure WebJobs for background processing.

    User's image

    Refer to this documentation for more information about Azure WebJobs.
    Hope this helps, let me know if you have any further questions on this.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.