Forum Discussion

Biplab Sah's avatar
Biplab Sah
Copper Contributor
Jul 16, 2020

App Service Time out in 230 Sec

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

    • Biplab Sah's avatar
      Biplab Sah
      Copper Contributor

      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 

      https://docs.microsoft.com/en-us/azure/architecture/patterns/async-request-reply
       
      It didn't help me out.
       
      Thanks,
      Biplab Sah
      • Rolf-42's avatar
        Rolf-42
        Iron Contributor

        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