2

I am using an api which takes more time to give response. If I tested the web api that was deployed in IIS from postman, It works without any time out. If I tested the same api that was deployed in azure, It gave me timeout.

Somewhere I read that you need to set the timeout in client application. I used postman in both cases. I verified the timeout for postman. It is infinity.

Can you give me the solution?

3
  • You said that it gives you timeout - every time or you have successful requests? You use Azure Web Apps? Commented May 5, 2016 at 22:35
  • Every time it gives me timeout. we deployed web api2 in azure. Commented May 6, 2016 at 10:47
  • Ok, then it is not the intermittent issue. Please see the answer. Commented May 6, 2016 at 13:14

1 Answer 1

2

I think that you hit the default timeout of Azure Web Apps (i think it is 3 minutes, if i remember correctly). Could you set SCM_COMMAND_IDLE_TIMEOUT from the portal - web app settings => app settings => add the setting with the needed value (to say 360 (in seconds)). Reference.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.