can anyone please tell me how to increase timeout for twilio sandbox http post url. I am trying to building one programmable chat application using whatsapp twilio sandbox using asp.net technology. Normally my application methods takes 20 plus seconds to run but when i did same thing on twilio sandbox then its returning execution timeout error. is there any way to increase timeout for twilio sandbox using .net.
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- MVC-Routing,Why i can not ignore defaults,The matc
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
Twilio developer evangelist here.
The Twilio webhook timeout is 15 seconds and it can't be changed.
Web applications that take 20+ seconds to respond to incoming requests are not recommended in general. They ties up processes and resources on your server and may lead to other requests being dropped.
I would recommend you do whatever work that takes more than 20 seconds in a background worker outside of the main web process. You can then respond to the webhook quickly, with an empty response and then use the REST API to send your reply message once the work is done.