guyrotem / google-translate-server

Google Translate Proxy API
https://google-translate-proxy.herokuapp.com/
MIT License
98 stars 36 forks source link

Error when there are too many requests #7

Open masa2146 opened 4 years ago

masa2146 commented 4 years ago

I get this error: "Google detected too many requests submitted from this IP. service is temporarily unavailable". What shoul ı do?

guyrotem commented 4 years ago

it seems that Google are employing throttling techniques to block non-human-organic traffic. this could be as simple as "no more than X requests per second for a certain IP", through simple heuristic patterns detection (~adjacent inputs from the same IP should be correlated) or maybe machine learning models. of course Google are limiting free usage. to understand better the throttling limits of Google translate, try to understand your usage patterns: first of all, what is your throughput? what kind of queries do you make? general techniques to bypass throttling can serve as a base for DDoS attacks. if you got to this point, you could be doing something illegal and I cannot advice in this case :)