Taking more than 10sec to give java microservice response to Dialogflow ES webhook request

95 views
Skip to first unread message

Sudhagar S

unread,
Mar 22, 2021, 4:56:10 AM3/22/21
to Google Cloud Developers
Hi,
Required a help to resolve below issue,

Problem encountered: Webhook call failed. Error: DEADLINE_EXCEEDED.
I have deployed a spring boot microservice on GCP using cloud shell. Deployment was successful. When I try to access that service from Dialogflow webhook url(given by the cloud shell) it is giving Webhook call failed. Error: DEADLINE_EXCEEDED.
During analysis able to find that the webservice response is taking more than 10sec, but the dialogflow default time to get response from API is 5sec

Expected to happen: I want to get the response within 5sec on dialogflow console

Steps to reproduce: Deploy a spring boot microservice on cloud shell.
Copy the url generated by the cloud shell.
Paste the url on Dailogflow webhook url page and save.
Trigger the request from dialogflow webhook

nibrass

unread,
Mar 22, 2021, 1:16:47 PM3/22/21
to Google Cloud Developers

Hello,

If a webhook does not respond within 5 seconds, you will get this "DEADLINE_EXCEEDED" error. This is a hard limit that Dialogflow has on the ES version [1], while the Dialogflow CX version can be increased up to 30 seconds [2]

Best Regards,
Nibrass

==========================



Reply all
Reply to author
Forward
0 new messages