AlexanderWillner / deepl-alfred-workflow2

DeepL Alfred Workflow
228 stars 8 forks source link

Error: Too many requests #5

Open Acidham opened 5 years ago

Acidham commented 5 years ago

After first successful translation I am receiving Error:Too many requests.

lucaschultz commented 5 years ago

Same here unfortunately.

AlexanderWillner commented 5 years ago

Was working on this - not that easy...

lucaschultz commented 5 years ago

I didn't mean to be critical, thank you for your work on this 👍

AlexanderWillner commented 5 years ago

Seems to work now. Please test.

Acidham commented 5 years ago

@AlexanderWillner better now. I am receiving less "too many requests" errors but sporatically I am receiving some errors. Not a critical issue because I got more successes than errors.

AlexanderWillner commented 5 years ago

@Acidham Is it somehow reproducible, e.g. based on some kind of input? Btw: The DeepL API is designed to translate up to 600 characters per minute and per customer.

Acidham commented 5 years ago

@AlexanderWillner it happens just a few times and sporadically. I tried several combinations but the point in time when the error is thrown is different.

I assume the query is fired once the dot was entered, correct? If yes I did not reach request limits of 600.

I will run additional tests and narrow down the use case.

AlexanderWillner commented 5 years ago

Basically working.

AlexanderWillner commented 4 years ago

Reopening. Not easy. Also see:

Already looked into the DeepL App HTTPS requests. It's also using the jsonrpc - very similar to this code here. For now, I'm using the official app. But will include a solution if someone finds one.

MiTereKun commented 3 years ago

Too many requests - solved by manually clearing cookies in the browser, even without changing the IP.

I asked a good friend to write (well, to be honest, to re-write) a browser plugin for instant insertion of text from the clipboard to the website of (any) translator. Maybe anyone is interested, because this is better than the official application

MiTereKun commented 3 years ago

And the most interesting thing is that the original plugin worked even without this super original 12 line code:

image The original works only with DeepL and sticks the text in the page link after the last slash https://www.deepl.com/translator#ja/en/ For example, Google reloads the page from such an insert, which leads to the loss of the plugin's right to work and it must be reactivated manually.

scrapix commented 1 year ago

I experience the same problem... [15:36:12.816] Deepl-Translate[Script Filter] Queuing argument 'ich habe hunger.' [15:36:13.342] Deepl-Translate[Script Filter] Script with argv '(null)' finished [15:36:13.371] Deepl-Translate[Script Filter] {"items": [{"uid": null,"arg": "Error: Too many requests","valid": "yes","autocomplete": "autocomplete","title": "Error: Too many requests"}]}

AlexanderWillner commented 1 year ago

Best workaround: just get your own (free) API key and configure it in the workflow. See #20

Tenskin commented 4 weeks ago

Hello, I have the same issue (Error: Too many requests), but I don't understand what is the fix proposed on this page. Can someone give me instructions?

AlexanderWillner commented 2 weeks ago