dialogflow multiple parallel requests handling

161 views
Skip to first unread message

Hari Baviri

unread,
Oct 21, 2021, 10:10:26 AM10/21/21
to Dialogflow Essentials Edition users

Hi all, I'm dealing with dialogflow integration for chatbot in one of my applications. Trained intents , published different versions to different environments. Upto this works excellent as expected. But when we move to production and we got parallel request to dialogflow through node. At this time, getting many timeout responses and users not getting configured messages .

Configured webhook in the dialogflow and getting custom data from node API detectIntent  (https://googleapis.dev/nodejs/dialogflow/latest/google.cloud.dialogflow.v2beta1.Sessions.html#detectIntent1).

Using
Node.js : 14.17.6
Dialogflow ES
dialogflow library : @google-cloud/dialogflow": "^4.5.0

getting error as :

webhookStatus: { details: [], code: 4, message: 'Webhook call failed. Error: DEADLINE_EXCEEDED, State: URL_TIMEOUT, Reason: TIMEOUT_WEB.' }

Test Info : If we hit 10 parallel dialogflow detectIntent requests, at least 5 - 7 responses getting timeout_web error as mentioned above 😞 .

Shameem (Google Cloud Platform)

unread,
Oct 21, 2021, 7:47:44 PM10/21/21
to Dialogflow Essentials Edition users
Please note that Google Groups is reserved for general product discussions. If you require further technical support it is recommended to post your detailed questions on Stack Exchange. I could see you've already posted your issue there [1]. 
You may also report it to the Public Issue Tracker (PIT) [2] for reporting product & service issues as well as feature requests. 
Reply all
Reply to author
Forward
0 new messages