No response from google translate when many request

93 views
Skip to first unread message

Dmytro Galyko

unread,
Jan 3, 2020, 2:22:27 PM1/3/20
to Google Cloud Translation API
Hi!
From December 28 the following problem arose:
Users fill text in 5 fields, after which the script sends them for translation. Translation of 3-4 fields comes immediately, but requests for other fields remain unanswered. From Google Cloud Translation API there is no answer, even with an error. After 60 seconds, the script stops working due to a timeout. Limits are not exceeded
Two months before that everything worked, but now it's like roulette in a casino.  
What could be the problem?

Ali T (Cloud Platform Support)

unread,
Jan 4, 2020, 9:14:21 AM1/4/20
to Google Cloud Translation API
Hi,

Could you share how you are sending these requests? A sample of the script sending the request would really help in understanding the underlying issue. If you are using one of the client libraries, please specify the version. 

Dmytro Galyko

unread,
Jan 8, 2020, 8:04:03 AM1/8/20
to Google Cloud Translation API
Our administrators changed the network for outgoing connection to the Google Cloud Translation API and everything began to work well (so, only our IP has been changed, the script remains the same). 
Does Google have any network restriction or firewall blocking?

Abdel (Cloud Platform Support)

unread,
Jan 10, 2020, 11:17:56 AM1/10/20
to Google Cloud Translation API
Hey Dmytro,

This is issue is most likely due to the local network firewall rule preventing any outgoing traffic to translation API endpoint.

Can you execute ´ping https://translation.googleapis.com´ from a local station on the same network ?

If the ping is successful --> no firewall issue
If the ping is unsucessful --> firewall issue

If the ping is successful and the full request is NOT -->  you probably don´t have the correct credentials set-up.

Can you share with us the full response? The error message usually provides sufficient hints.

Thanks
Reply all
Reply to author
Forward
0 new messages