botframework-sdk
botframework-sdk copied to clipboard
Request for 15 second timeout issue solution
This is not for asking questions or filing bugs
To get help with an issue with your bot
- "How To" questions should be submitted on Stack Overflow.
To file an issue against a component please go to the components repo
- Create Azure Bot Framework Service or Channel issue
- Create Bot Builder Tools issue
- Create Bot Builder SDK V3 (.NET or Javascript) issue
- Create Bot Builder SDK V4 .NET issue
- Create Bot Builder SDK V4 Javascript issue
- Create Bot Builder SDK V4 Java issue
- Create Bot Builder SDK V4 Python issue
Issue
I have a rather complicated bot framework application - it runs different methods and then compares results before returning a response to the user - and I am running into the 15 second timeout issue ("POST to Bot timed out after 15s"). I would like to have a method for extending the timeout, or bypassing the timeout issue altogether.
Proposed change
Provide a method for extending the timeout or provide some sample code that works asynchronously, .i.e. makes asynchronous calls to long running process without throwing an error.
Component Impact
I'm not that familiar with the framework's inner workings, but I believe this would affect ActivityHandler and ITurnContext.
Customer Impact
Having control over the timeout would allow developers to create more complex bots capable of doing more things. Also, more time allows more technologies to be implemented in a bot, such as combining ChatGPT with other technologies. If the customers are willing to wait for a response, why not let them?
Tracking Status
Dotnet SDK TODO
- [ ] PR
- [ ] Merged
Javascript SDK TODO
- [ ] PR
- [ ] Merged
Python SDK TODO
- [ ] PR
- [ ] Merged
Java SDK TODO
- [ ] PR
- [ ] Merged
Samples TODO
- [ ] PR
- [ ] Merged
Docs TODO
- [ ] PR
- [ ] Merged
Tools TODO
- [ ] PR
- [ ] Merged