Google Translate API Timeout

661 views
Skip to first unread message

qian...@grabtaxi.com

unread,
Dec 29, 2017, 9:05:45 AM12/29/17
to Google Cloud Translation API
Hi,

Our service is calling Google Translate API with Go Client from AWS service. The QPS is far less than the quota, however, we get around 5% timeout. We say a request `timeout` when we cannot receive the response after 5 seconds. Can anyone help us, or explain what is the problem?

Regards,
Qian

Grab is hiring. Learn more at https://grab.careers

By communicating with Grab Inc and/or its subsidiaries, associate companies and jointly controlled entities (“Grab Group”), you are deemed to have consented to processing of your personal data as set out in the Privacy Notice which can be viewed at https://grab.com/privacy/

This email contains confidential information and is only for the intended recipient(s). If you are not the intended recipient(s), please do not disseminate, distribute or copy this email and notify Grab Group immediately if you have received this by mistake and delete this email from your system. Email transmission cannot be guaranteed to be secure or error-free as any information therein could be intercepted, corrupted, lost, destroyed, delayed or incomplete, or contain viruses. Grab Group do not accept liability for any errors or omissions in the contents of this email arises as a result of email transmission. All intellectual property rights in this email and attachments therein shall remain vested in Grab Group, unless otherwise provided by law.

George (Cloud Platform Support)

unread,
Dec 29, 2017, 2:12:31 PM12/29/17
to Google Cloud Translation API
You are confident that the daily usage is well below your daily 2M character limit. Have you checked logs for Quota Exceeded responses? Does your code indicate timeouts? It may be worth trying to raise your quota, and then verify if this changes the previous behavior in any way.

Timeouts are often an indication of networking problems. What is the output from a traceroute command, from you to Google? If you keep pinging google.com for a while, are there any dropped packets shown?

Is the API sending any errors? You can monitor this in the console, at https://console.developers.google.com/project/<PROJECT>/apiui/apiview/translate/usage . 

Any other piece of information you deem relevant might prove of great value as well. 
Reply all
Reply to author
Forward
0 new messages