Directline timed out when activity process extended
HebatallaTarek opened this issue · 7 comments
Hello ,
Actually i am using DirectlineJs to connect Bot with Client Application , the issue is after user enter specific input the bot will reply with card which has dynamic data so the process of creating this card takes time , when i tried it in webchat it take 20 sec delay but it appears at the end , but when i use Directline it hang up and i got "assigned ID retry" , i know the Directline time out is 15 Sec but how to handle if bot activity processing take longer than 15 sec
Bot Source Code is C # however the Directline client applictation server is Node JS
Kindly let me know how to handle this issue
Many Thanks
The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.
You must make use of Proactive Messages. to work around any issues where it may (or will) take longer than 15 seconds.
Also, more info here:
https://stackoverflow.com/search?q=%5Bbotframework%5D+timeout
Closing, per request.
@dmvtech Thanks for your reply but how Proactive messages used with waterfall dialogs is it applicable ?
@HebatallaTarek Yes, proactive messages should work in dialogs (waterfall or otherwise). Again, the crux of proactive message is having the conversation reference.