Timed out while waiting for activity
See original GitHub issueScreenshots
Version
WebChat 4.11.0
Describe the bug
Webchat times out and shows a waring message under the browser console for the first welcome message. Due to timed out it takes some time to show the welcome message. It appears the reply to message has a wrong id or none existent ID. This happens in the latest version of webchat v4.11.0 but I believe it happens in the previous v4.10.1 without logging in the consol.
Expected behavior
WebChat should not timed out for the initial welcome message.
Code to trigger the welcome message
if ('DIRECT_LINE/CONNECT_FULFILLED'.equalsTo(action.type)) {
// When we receive DIRECT_LINE/CONNECT_FULFILLED action, we will send an event activity using WEB_CHAT/SEND_EVENT
this.directLine.postActivity({
from: { id: this.user.id, name: this.user.name },
name: 'webchat/join',
type: 'event',
value: 'token'
}).subscribe(
id => console.log(`Posted activity, assigned ID ${id}`),
error => console.log(`Error posting activity ${error}`)
);
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:25 (5 by maintainers)
Top Results From Across the Web
TimeoutError: Timed out waiting fo… | Apple Developer Forums
Getting this error when trying to preview an app on various devices. It's occurring when I select iPhone 13 and iPhone 11, but...
Read more >Error with read mail activity - Timed out while waiting for Mail ...
Hi, We have a job which reads emails from outlook and creates a ticket. The job was running fine couple of days back...
Read more >android - Timed out waiting for process to appear on device
Just insert the "Default Activity" under "Launch Options" and your application will run again on your device. Share.
Read more >DataStage job fails with code=-14 [Timed out while waiting for ...
This error generally happens when jobs are called from job sequence or dsjob command is used from a script. Symptom. DataStage job fails...
Read more >Request Timeout The server timed out while waiting for the ...
Clear the cache and cookies only from websites that cause problems. "Clear the Cache": Firefox/Tools > Options > Advanced > Network > Cached...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed by PR #3705 I verified that with above PR i no longer see the timeout for the after the initial send event activity is sent
I believe this is not just a problem which occurs while sending welcome messages, but also for proactive messages.
When I run the proactive messages sample as a bot and launch the webchat using the getting started sample, then I also get the same warnings for the proactive messages.