App Service Time out in 230 Sec

Copper Contributor

Hello Team,

 

We have couple of App Service which takes more than 230 Sec. We can not use Durable function or Webjobs. how can we increase the time, as we have a task running which takes about 10 mins.

 

Thanks,

Biplab

4 Replies

Hello @Biplab Sah

Do you have several App Services or Web Apps? Can you please try to explain why you cannot use Webjobs or durable functions? It may help to understand your use case. On top of that I suggest you cross-post your question in the Apps on Azure community here: https://techcommunity.microsoft.com/t5/apps-on-azure/bd-p/AppsonAzure

Cheers
Rolf
#MCT #LearnWithRolf #TheCloud42 

@Rolf-42 Thanks.

 

So, The application runs both on Azure as well as on-premise. using a webjob or durable function will put a dependency on cloud.

I have couple of App Services. App Service 1 calls App Service 2, and if App Service 2 takes more than 230 seconds to respond, the request throws 500. I tried Async Await and 

 
It didn't help me out.
 
Thanks,
Biplab Sah

Hello @Biplab Sah

As you can see from this link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes an error 500 is an internal server error. So you need to do some debugging in the call between service 1 and service 2 like which authentication, which permission, which URL/URI etc.

And yes, going towards async is a good cloud development principle. Maybe you can also consider putting your apps into containers to reduce dependencies to cloud services.

Some source code would help to get into the details but again that is probably better asked in the developer community than in the Microsoft Learn community.

Good luck

Cheers
Rolf
#MCT #LearnWithRolf #TheCloud42  

Thanks @Rolf-42

I do understand the scenario. the same application run great on IIS. it's an issue of app service request time out, which I have narrowed down and tested.
check this: https://github.com/MicrosoftDocs/azure-docs/issues/30795
As per your suggestion, I have put the question in the other group too: https://techcommunity.microsoft.com/t5/apps-on-azure/app-service-timeout-in-230-sec/m-p/1526934

Thanks,
Biplab