-
Notifications
You must be signed in to change notification settings - Fork 270
dialogflow multiple parallel requests handling #886
Comments
Hi Vinay, Keeping the above analysis aside, I tried to replicate the issue using 30 concurrent users but I was not able to, given that I was using the same node and dialogflow versions. |
Hi @ibrezm1 , Thanks for the quotas info. I identified issue when i moved to production and got more users interaction. So, replicated the parallel request with async library. Full error trace
|
Hi @VinayBaviri , I am sure you would have checked it already but wanted highlight: Are you using webhooks for fulfillment. if yes , their are certian limitations as per the Dialogflow Documentation
As a quick check, can you validate if the webhook you are using is meeting the above critera, if you are using webhooks? |
Yes @ibrezm1 , i'm using webhook fulfillment which will trigger configured API route in node. For one request, its completing in min |
Thank you for filing this issue. This Github repo is used for issues with the Dialogflow NodeJS library. This issue appears to be a question about your specific implementation rather than a problem with the product or library. Unfortunately this is not a staffed support channel for Dialogflow. Please consider the Dialogflow support options listed here: https://cloud.google.com/dialogflow/docs/support/getting-support |
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 with detectIntent.
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 😞 .
Need help ASAP, Thanks in advance 😃 .
The text was updated successfully, but these errors were encountered: